public void CompareWords_VerifyWordMatchesSameWithDifferentCase_True() { int total = 0; string word01 = "and"; string word02 = "And"; WordCounter newWordCounter = new WordCounter(total, word01, word02); Assert.AreEqual(true, newWordCounter.CompareWords(word02)); }
public void CompareWords_VerifyDifferentWordsDoNotMatch_False() { int total = 0; string word01 = "and"; string word02 = "but"; WordCounter newWordCounter = new WordCounter(total, word01, word02); Assert.AreEqual(false, newWordCounter.CompareWords(word02)); }
public void CompareWords_VerifyMultipleLetterWordMatchesSame_True() { int total = 0; string word01 = "and"; string word02 = "and"; WordCounter newWordCounter = new WordCounter(total, word01, word02); Assert.AreEqual(true, newWordCounter.CompareWords(word02)); }