public void WordNotContainsLetter() { char letter = 'h'; Word word = new Word(); bool hasLetter = word.ContainsLetter(letter); Assert.IsNotNull(hasLetter); }
public void TheLetterAsSomeChar() { char letter = '%'; Word word = new Word(); bool hasLetter = word.ContainsLetter(letter); Assert.AreEqual(hasLetter, false, "The word can't contain a char!"); }
public void WordContainsLetter() { char letter = 'x'; Word word = new Word(); bool hasLetter = word.ContainsLetter(letter); Assert.AreEqual(hasLetter, false, "This letter isn't included in the word"); }