public void ValidateInputTestWrong() { int userInput = 30; TimesheetGenerator t = new TimesheetGenerator(); bool returned = t.ValidateInput(userInput); Assert.AreEqual(false, returned); }
public void ValidateInputTest() { TimesheetGenerator ts = new TimesheetGenerator(); bool expected = false; bool actual1 = ts.ValidateInput(80); bool actual2 = ts.ValidateInput(-3); Assert.AreEqual(expected, actual1); Assert.AreEqual(expected, actual2); }
public void ValidateInputTest1() { int userInput = 24; TimesheetGenerator t = new TimesheetGenerator(); bool returned = t.ValidateInput(userInput); Assert.AreEqual(true, returned); }