a) Given a black box description of the input to a program P1: integer number X and the
given output:
Input X Output
[0, 100] G
(100, 115] XC
what are the equivalence classes for X?
b) Based on equivalence class partitioning, create a test set T1E for P1.
c) Based on two-point boundary value analysis, create a test set T1B for P1.
d) Given a black box description of the input to a program P2: floating point number X with
a granularity of 0.1 and the given output:
Input X Output
[-40.0, 32.0) F
[32.0, 100.0) C
[100.0, 212.0] H
what are the equivalence classes for X?
e) Based on equivalence class partitioning, create a test set T2E for P2.
f) Based on two-point boundary value analysis, create a test set T2B for P2.


0 comments