Automatic test case generation in Python. Originally a component in https://github.com/hoidn/PtychoPINN/