v1.3
using the jar file. Make sure the jar file is in an empty folder before you start. Others can help to confirm the jar file works on other OS'es.You may release a newer version to be used for the PE dry run, but make sure it is released by Friday 10am.
Design test cases for the day
parameter
day
of this method?
/**
* Returns true if the three values represent a valid day
*/
boolean isValidDay(int year, int month, int day){
}
day
in the question above? Combine test inputs for the consume
method
Apply heuristics for combining multiple test inputs to improve the E&E of the following test cases, assuming all 6 values in the table need to be tested. underlines indicate invalid values. Point out where the heuristics are contradicted and how to improve the test cases.
SUT: consume(food, drink)
Test case | food | drink |
---|---|---|
TC1 | bread | water |
TC2 | rice | lava |
TC3 | rock | acid |