Skip to content

Test/splinefield

Paul McCarthy requested to merge test/splinefield into master

Add some unit tests (written by @jesper) which test various behaviours of the BASISFIELD::splinefield class.

The test_splinefield.cpp file runs a set of operations and generates some output files. The feedsRun.test_splinefield script then compares these files against some pre-generated benchmark data, which was created using FSL 6.0.5.1.

The benchmark data may need to be re-generated when armawrap/aramdillo or openblas is updated, due to changes in random number generation.

This MR also contains a small change to some exception classes, to ensure that the char * returned by the what method does not point to a temporary (related eddy@8d8d924e)

Edited by Paul McCarthy

Merge request reports