Question: Consider the following program and two test sets. begin int x , y , z; input ( x , y ) ; if ( x

Consider the following program and two test sets.
begin
int x, y, z;
input (x, y);
if(x0 or y0)
z=foo-1(x,y);
else
z=foo-2(x,y);
output(z);
end
In class exercise: Confirm that T1 is adequate with respect to
decision coverage but not condition coverage.
T1={[t1:,],[t2:,]}
In class exercise: Confirm that T2 is adequate with respect to
condition coverage but not decision coverage.
T2={[t1:,],[t2:,]}
Consider the following program and two test sets.

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 Programming Questions!