public void TeatCanNOTFindKeyword() { Keywords keyword = new Keywords(); string userInput = "anything else"; bool expected = false; bool actual = keyword.IsAKeyword(userInput); Assert.AreEqual(expected, actual); }
public void TeatCanFindKeyword() { Keywords keyword = new Keywords(); string userInput = "last"; bool expected = true; bool actual = keyword.IsAKeyword(userInput); Assert.AreEqual( expected, actual); }
public void TestKeywordsContainsQuit() { Keywords keyword = new Keywords(); string[] actual = keyword.SimpleKeywords(); string[] expected = { "quit", "last" }; CollectionAssert.Contains(actual, "quit"); }