mcsas.mcsas_test module

getExpectedData(filename)[source]

Warning

function ‘mcsas_test.getExpectedData’ undocumented

getSettings(testfn, expectedfn)[source]

Test settings for mcsas routine. Using number of repetitions and contributions from expected test data to improve comparability.

getTestData(filename)[source]

Warning

function ‘mcsas_test.getTestData’ undocumented

isEqualFloat(a, b, tol=1e-16)[source]

Return TRUE if both float arrays can be considered as equal. tol Tolerance in relative mean difference Supposed to be symmetrical.

storeResultData(filename, result)[source]

Warning

function ‘mcsas_test.storeResultData’ undocumented

test()[source]

Testing the algorithm in 1D. Atm, we just test as much as possible. Testing post-processing routines should be separated later as it’s deterministic and though easier to test.