Example #1
0
        public void CompileList_WillCompileList_StringList()
        {
            AnagramProgram TestAnagram = new AnagramProgram();
            List <string>  testList    = new List <string>(new string[] { "a", "b", "c" });
            string         word        = "a b c";

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