.. post:: Mar 7, 2018 :tags: parmec, tests :author: Tomek .. _blog-paremc-spring-curve-tests: 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. (...) .. figure:: figures/spring_curve_tests.png :width: 90% :align: center