public void decision_condition_coverage() { ProgramToCover.methodToCover(true, true, false, false, true, 3); ProgramToCover.methodToCover(false, false, true, true, false, 3); }
public void decision_coverage() { // To cover all the decisions, just ensure that each one takes a different value ProgramToCover.methodToCover(true, true, false, false, true, 3); ProgramToCover.methodToCover(false, false, true, false, false, 3); }