Parmec spring curve tests

Thanks to user feedback, Parmec begins to be smoothed out. An automated spring curve correctness test has now been added as tests/spring_curve_tests.py allowing to generate and run a number of simulations with random spring curves within a stroke-force box [-1, -1, 1, 1]. This test initiates what may become a suite of automated regression tests for Parmec. If matplotlib and imagemagic are installed, it generates a juxtaposed image, comparing input and output curves. An example image is included below. (…)

../_images/spring_curve_tests.png

Comments

comments powered by Disqus