This PR speeds up tests that make repeated calls to NEMOH, by using the NEMOH call in class based test setup functions that allow the results to be shared between the tests. The tests are now 60% quicker than before (1:45 on my system). The example test is still quite slow, because the example is quite slow. I think I can add some efficiency to the plotting function in #62 by reusing previous NEMOH calls.
Description
This PR speeds up tests that make repeated calls to NEMOH, by using the NEMOH call in class based test setup functions that allow the results to be shared between the tests. The tests are now 60% quicker than before (1:45 on my system). The example test is still quite slow, because the example is quite slow. I think I can add some efficiency to the plotting function in #62 by reusing previous NEMOH calls.
Fixes #110
test_results_old.pdf test_results_new.pdf
Checklist:
Ifexample.m
has been modified, the content / line numbers indocs\user\example.rst
are still valid or have been fixed