コード例 #1
0
        public void TestIsStringGroupAnagram2(string[] strs, int expectedCount)
        {
            var strProblems = new StringProblems();

            var actualResult = strProblems.GroupAnagrams2(strs);

            Assert.NotNull(actualResult);
            Assert.NotEmpty(actualResult);
            Assert.Equal <int>(expectedCount, actualResult.Count);
        }