Exemplo n.º 1
0
        public void SetWordList_ListPropertyIsUpdated_List()
        {
            List <string> tempList = new List <string> {
                "beers", "beard"
            };
            List <string> listToSet = new List <string> {
                "bob"
            };
            Anagram newAnagram = new Anagram("stringOne", tempList);

            newAnagram.SetWordList(listToSet);
            Assert.AreEqual(listToSet, newAnagram.GetWordList());
        }