Пример #1
0
        public void SortArray_CharArray_IsSorted()
        {
            char[]        test     = { 'a', 'b', 'd', 'e', 'r' };
            char[]        testSort = { 'r', 'a', 'e', 'd', 'b' };
            List <string> tempList = new List <string> {
                "bread"
            };
            Anagram newAnagram = new Anagram("bread", tempList);

            CollectionAssert.AreEqual(test, newAnagram.SortArray(testSort));
        }