Programming, Python, Unit Testing, Hypothesis, Software Development.
expected outputs. It is ok to test a function like the above on an ad hoc basis. However, unit tests occur regularly. We are only interested to know if the code passes or fails the tests. Ideally, we need test data that covers all kinds of possible cases after production. In my example above, two