static void Main(string[] args) { Example e = new Example(); System.Console.WriteLine(e.WhatsTheWord()); System.Console.WriteLine(e.IsTheWord("vird")); System.Console.WriteLine(e.IsTheWord("bird")); }
public void IsTheWordCorrectCasesAndTrim() { Example example = new Example(); bool result = example.IsTheWord(" BIrD "); Assert.IsTrue(result); }
public void IsTheWordInCorrect() { Example example = new Example(); bool result = example.IsTheWord("not the bird"); Assert.IsFalse(result); }
public void IsTheWordCorrect() { Example example = new Example(); bool result = example.IsTheWord("bird"); Assert.IsTrue(result); }