INPUT: value (integer number)
IF (value ≤ 100 OR value ≥ 200) THEN write “value incorrect”
ELSE write “value OK”
My equivalence partitions are (1-100) (101, 199,) (>= 200 ), so 2 value BVA are 100, 101, 199, 200. Am I wrong? please explain
INPUT: value (integer number)
IF (value ≤ 100 OR value ≥ 200) THEN write “value incorrect”
ELSE write “value OK”
My equivalence partitions are (1-100) (101, 199,) (>= 200 ), so 2 value BVA are 100, 101, 199, 200. Am I wrong? please explain
@sujjipuli .
This I got from chatGpt & seems its correct ![]()
Equivalence partitions:
Boundary values:
So, your identified boundary values are correct: 100, 101, 199, and 200. These are the values you would use to test the system at the edges of the equivalence partitions to ensure that the program behaves correctly at these critical points of input.
Thanks for the response Amit
Since this is a didactic question, and ignores side effects which we know are where most bugs actually do lie, I feel compelled to add Reddit - Dive into anything