INPUT: value (integer number)
IF (value ≤ 100 OR value ≥ 200) THEN write “value incorrect”
ELSE write “value OK”
You design the test cases using 2-value boundary value analysis.
Which of the following sets of test inputs achieves the greatest coverage?
a) 100, 150, 200, 201
b) 99, 100, 200, 201
c) 98, 99, 100, 101
d) 101, 150, 199, 200
Answer Explanation