A function takes three (3) strictly positive integer values (less than or equal to 10) corresponding to the sides of a triangle (a, b and c) and tests whether the triangle has two sides which are equal in which case the function outputs a message saying True otherwise False. Which of the following are correct regarding equivalence partitioning?
A function takes three (3) strictly positive integer values (less than or equal to 10) corresponding to the sides of a triangle (a, b and c) and tests whether the triangle has two sides which are equal in which case the function outputs a message saying True otherwise False.
Which of the following are correct regarding equivalence partitioning?
b==c, a!=c and a, b and c belong to [1,10] always resulting in True
a==b, a!=c, a, b and c belong to [0,10] resulting in True
b==c, a!=b and a, b and c belong to [1,5] result in True
a>b, b>c and a, b and c belong to [1,10] resulting in True
a==b and a and b belong to [1,10] might be true or false depending on the value of c
a==b, a!=c, is a valid partition always resulting in True
Step by step
Solved in 2 steps