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.
Deze oefening maakt deel uit van de cursus
Introduction to Testing in Python
Praktische interactieve oefening
Zet theorie om in actie met een van onze interactieve oefeningen.
Begin met trainen