-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tests to package #8
Comments
Hi again! Actually you could help me out here; writing the unit tests is actually not really a problem but rather to have some test cases (i.e. some MPS files) that are licensed such that I can simply put the into my project as cases... Best regards! |
I'm sharing with you the mps files that are produced by the examples in PuLP unit tests. |
Great. However; I will try to do independent unit testing so we do not test for duplicates. If you integrate pysmps into your unit tests sometime you will implicitly do the tests anyway. I will write some hard-coded generic mps files at first and when the MPS file writer is done I will program some unit tests involving if the written and read back-in dictionary are coherent... But thanks anyway! |
There is a first unit test example in the numpy_free branch. |
I added a second unit test for checking if the multiple RHS functionality works. Check the first issue to see what I mean by this. The same could be implemented for boundaries too.. The RHS functionality unit test runs successfully. |
Hello again!
It'd be awesome to have some unittests integrated in this package. If you need examples of projects, you can go check the PuLP unittests for some example problems: https://github.com/coin-or/pulp/blob/master/pulp/tests/test_pulp.py
The text was updated successfully, but these errors were encountered: