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.
Latihan ini adalah bagian dari kursus
Introduction to Testing in Python
Latihan interaktif praktis
Ubah teori menjadi tindakan dengan salah satu latihan interaktif kami.
Mulai berolahraga