Ensure that numerator is divisible by the denominator.
(numerator, denominator)
| 18 | |
| 19 | |
| 20 | def ensure_divisibility(numerator, denominator): |
| 21 | """Ensure that numerator is divisible by the denominator.""" |
| 22 | assert numerator % denominator == 0, "{} is not divisible by {}".format( |
| 23 | numerator, denominator |
| 24 | ) |
| 25 | |
| 26 | |
| 27 | def divide(numerator, denominator): |
no outgoing calls
no test coverage detected