예제 #1
0
        public void CheckForAnagram_AddAnagramToMatchList_List()
        {
            //fix this test
            Anagram testAnagram = new Anagram();

            testAnagram.SetUserWords("bread");
            testAnagram.SetUserWords("beard");
            testAnagram.SetUserWords("kiwi");
            testAnagram.CheckForAnagram();
            Assert.AreEqual(testAnagram.GetUserWords()[1], testAnagram.GetWordMatches()[0]);
        }