Question: Given the following function and assuming you are using white - box testing, which of the following sets of inputs would give you full coverage?

Given the following function and assuming you are using white-box testing, which of the following sets of inputs would give you full coverage?
def a(x):
if(x >0):
print("x is positive")
elif(x <0):
print("x is negative")
else:
print("x is 0")
0,56,-10
-28,-1,200
26,0,32
0,-68,-92

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!