Testing Fundamentals - Testing Types and Levels
Find the bug in this regression test code:
def subtract(x, y):
return x - y
assert subtract(5, 3) == 2
assert subtract(2, 5) == 3
print("Tests done")Find the bug in this regression test code:
def subtract(x, y):
return x - y
assert subtract(5, 3) == 2
assert subtract(2, 5) == 3
print("Tests done")15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions