public void CheckWord_VerifyWordContainsAlphabetOnly_False() { int total = 0; string word = "%"; string sentence = ""; WordCounter newWordCounter = new WordCounter(total, word, sentence); Assert.AreEqual(false, newWordCounter.CheckWord()); }
public void CheckWord_VerifyWordContainsApostropheIsWord_True() { int total = 0; string word = "can't"; string sentence = ""; WordCounter newWordCounter = new WordCounter(total, word, sentence); Assert.AreEqual(true, newWordCounter.CheckWord()); }
public void CheckWord_VerifyEmptyString_False() { int total = 0; string word = ""; string sentence = ""; WordCounter newWordCounter = new WordCounter(total, word, sentence); Assert.AreEqual(false, newWordCounter.CheckWord()); }