Use the mymath module
Before we start testing it, let’s see how we would use this module?
import mymath
print( mymath.add(2, 3) )
print( mymath.div(6, 2) )
The output looks like this
$ python src/examples/testing/good/use_mymath.py
5
3.0
Some people will write such examples during development, look at the results and conclude that the functions work fine. Unfortunately they will leave these helper programs scattered around their computer and then these would get lost.