Question: A function foo takes three integers as input arguments, i . e . , foo ( int a , int b , int c )

A function foo takes three integers as input arguments, i.e., foo(int a, int b, int c). The three inputs represent the three sides of a triangle in centimeter. The function is expected to
return the type of a triangle: "equilateral", "isosceles", or "scalene". Assume the domains of the three variables are 1a100,50b150 and 100c200, respectively. A test
case is in a tuple format S1S2S2-S1=S3,expectedoutput> with test inputs and the expected output.
S1is a set of test cases for the "Boundary Value Analysis" approach. (0.5pt)
S1=
S2is a set of test cases for the "Robustness testing" approach. (0.5pt)
S2-S1=
S3is a set of tests cases for the "Robust Worst-Case testing" approach. Are there any types of triangles that S3 cannot reveal? If yes, what are they? Ifno, why? (1pt)
 A function foo takes three integers as input arguments, i.e., foo(int

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!