use doctest and unittest. In particular think about how this can be done for some of the more complex logic in the mor functionality - test with different outlet directions etc
use doctest and unittest.
In particular think about how this can be done for some of the more complex logic in the mor functionality - test with different outlet directions etc