SECTION 14 / 48

Equivalence Class Partitioning

1 min read

Partition the input domain into equivalence classes: the program behaves similarly for every input in a class. Select one representative from each class.

For min(x, y), the classes are x > y (for example (20, 10) or (50, 40)), x < y, and x = y.

Equivalence Class Partitioning
Equivalence Class Partitioning
Open image ↗
Equivalence Class Partitioning
YOUR STUDY PROGRESS

Finished this section? Save your progress.

Back to top ↑