use pytest, examples to test can found in Hillier and Lieberman ed.11 chapter 17. Remember to use equivalence partitioning to test.