nus-cs2103-AY2021S1 / forum

20 stars 2 forks source link

is a proper subset of an equivalence partition also an equivalence partition? #532

Open nicktohzyu opened 3 years ago

nicktohzyu commented 3 years ago

Definition in the textbook is " A group of test inputs that are likely to be processed by the SUT in the same way." Then can we say that there is some equivalence relation between all members of the set? Must the set be complete (ie there does not exist any equivalent element not in the set) to be considered an equivalence partition?

As a concrete example, say we have some SUT for which n=[5..15] is an equivalence partition. Then is n=[6..14] also an equivalence partition?