getf SCI/util/testexamples.sci reinit_for_test() %U=mopen('SCI/tests/automatic_tests/cosm_data.ref','rb'); A = [1,2;3,4]; if load_ref('A') then bugmes();quit;end, %ans = cosm(A) - 0.5 * (expm(%i * A) + expm(-%i * A)); if load_ref('%ans') then bugmes();quit;end, xdel_run(winsid()); mclose(%U);