public void Score_ShouldNotIncrement_WhenKeywordAlreadyFound() { Game game = new JavaGame(); game.processInput("boolean"); game.processInput("boolean"); Assert.AreEqual(game.score, 1); }
public void ProcessInput_ShoudReturnFalse_WhenKeyworkDoesntExist() { Game game = new JavaGame(); bool result = game.processInput("bool"); Assert.AreEqual(result, false); }
public void Score_ShouldIncrement_WhenKeyworkExists() { Game game = new JavaGame(); game.processInput("boolean"); Assert.AreEqual(game.score, 1); }
public void ProcessInput_ShoudReturnTrue_WhenKeyworkExists() { Game game = new JavaGame(); bool result = game.processInput("boolean"); Assert.AreEqual(result, true); }
public void ProcessInput_ShouldHandleNullValues() { Game game = new JavaGame(); game.processInput(null); }