public void AnagramConstructor_CreatesInstanceOfAnagram_Anagram() { List <string> tempList = new List <string> { "beer", "beard" }; Anagram newAnagram = new Anagram("Test", tempList); Assert.AreEqual(typeof(Anagram), newAnagram.GetType()); }
public void AnagramConstructor_CreatesInstanceOfAnagram_Anagram() { List <string> listForConstructor = new List <string> { }; listForConstructor.Add("aaaa"); listForConstructor.Add("bbbb"); Anagram newAnagram = new Anagram("test", listForConstructor); Assert.AreEqual(typeof(Anagram), newAnagram.GetType()); }
public void WordConstructor_CreatesInstanceOfWord_Word() { Anagram newAnagram = new Anagram("test"); Assert.AreEqual(typeof(Anagram), newAnagram.GetType()); }
public void AnagramConstructor_CreatesInstanceOfAnagram_Anagram() { Anagram newAnagram = new Anagram(""); Assert.AreEqual(typeof(Anagram), newAnagram.GetType()); }