-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Currently, MINPACK exports 3 API's:
- the original Fortran API
- the C API
- the Python API
There are some minimal tests for each of the API's and a big messy collection of Fortran test functions.
Clearly, some minimal tests for each of the different interfaces are needed in order to test the correctness of the binding, with respect to argument passing, types, side-effects, etc. For the actual algorithms in Fortran however, it doesn't matter in which languages / interface the tests are written.
Does it make sense to write the algorithm tests (#10, #35) in Python?
This would test all three interfaces simultaneously. It also has the advantage of faster development due to dynamic typing, simpler output formatting, and other high-level properties of Python. Moreover the larger Python community could support us with their CI/CD knowledge, e.g. from SciPy and other big Python libraries.