Question: Given the following function and assuming you are using white - box testing, which of the following sets of inputs describe an equivalent class? def

Given the following function and assuming you are using white-box testing, which of the following sets of inputs describe an equivalent class?
def a(x):
if(x >0):
print("x is positive")
elif(x <0):
print("x is negative")
else:
print("x is 0")
-42,-65,1,0
1,5,89,62
0,5,28,87
89,692,-9,-12

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!