예제 #1
0
        public void CompileList_WillCompileList_StringList()
        {
            AnagramProgram TestAnagram = new AnagramProgram();
            List <string>  testList    = new List <string>(new string[] { "bob", "gary", "mike" });
            string         word        = "bob gary mike";

            string[] inputList = word.Split(' ');
            CollectionAssert.AreEqual(testList, TestAnagram.GetInputForList(word));
        }