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.
Questo esercizio fa parte del corso
Introduction to Testing in Python
Esercizio pratico interattivo
Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi
Inizia esercizio