Say I have a couple of tests like the following:
Test[
g[f[10]],
100,
TestID -> "Test-1-g"
]
Test[
h[f[10]],
200,
TestID -> "Test-2-h"
]
Further, assume that f[10]
is not cheap. So I would like to initialize it as an environment variable for this suite of tests. What is the correct way to do this in MUnit? I cannot seem to find any documentation on the official page for an initialization function.
a = f[10];
works fine! I just thought that everything in a.mt
file had to be inside aTest*
function of some kind. $\endgroup$ – Shredderroy Oct 8 '14 at 0:14