Cover more test cases
What is the best set of tests (that covers more test cases) to validate the following division
function?
def division(a, b):
if b == 0:
return ValueError
return a / b
Each option is a set of function calls, all of which will be checked.
This exercise is part of the course
Introduction to Testing in Python
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
