예제 #1
0
        public void ConvertWordToArray_Word_CharArray()
        {
            string stringToTest = "beer";

            char[]        test     = { 'b', 'e', 'e', 'r' };
            List <string> tempList = new List <string> {
                "bread"
            };
            Anagram newAnagram = new Anagram("bread", tempList);

            CollectionAssert.AreEqual(test, newAnagram.ConvertWordToArray(stringToTest));
        }