A simple example introducing both unit testing in Python and the concept of TDD.
This is a simple calculator class, with add, subtract and other simple methods.
https://code.tutsplus.com/tutorials/beginning-test-driven-development-in-python--net-30137