Пример #1
0
        public void TestIsStringGroupAnagram(string[] strs, int expectedCount)
        {
            var strProblems = new StringProblems();

            var actualResult = strProblems.GroupAnagrams(strs);

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