Example #1
0
        public void SortByAnagrams_Test()
        {
            var input  = new[] { "bad", "a", "dab", "can", "a", "nac" };
            var actual = SortService.SortByAnagrams(input);

            Assert.AreEqual(new string[] { "a", "a", "bad", "dab", "can", "nac" }, actual);
        }