grade_label(score) accepts integer scores from 0 through 100. Which supplied score is a boundary of that allowed domain?
For the documented split_bill contract, which plan covers ordinary inputs, edges of its allowed domain and its specified rejected inputs?
A unit-test suite can run its checks automatically without a person clicking through application screens.
Circle one: True False
A test asserts split_bill(18, 3) == 6. The function is changed from division to multiplication and now returns 54 for that call. What should this assertion do?
split_bill(45, 5) should return 9 but returns 8. Which failure message accurately identifies this broken promise?
A test calculates its expected result by copying the function's implementation logic. What correctness risk does this create?
shipping_weight([]) must return 0. Every test in the passing suite supplies a nonempty list. Users find that empty input crashes. Which coverage gap is established by these stated tests?
mean(values) is specified to raise ValueError for an empty list. check is a unittest.TestCase instance. Which test checks that specified error?