コード例 #1
0
 public void TeatCanNOTFindKeyword()
 {
     Keywords keyword = new Keywords();
     string userInput = "anything else";
     bool expected = false;
     bool actual = keyword.IsAKeyword(userInput);
     Assert.AreEqual(expected, actual);
 }
コード例 #2
0
 public void TeatCanFindKeyword()
 {
     Keywords keyword = new Keywords();
     string userInput = "last";
     bool expected = true;
     bool actual = keyword.IsAKeyword(userInput);
     Assert.AreEqual( expected, actual);
 }