getf SCI/util/testexamples.sci reinit_for_test() %U=mopen('SCI/tests/automatic_tests/rat_data.ref','rb'); [n,d] = rat(%pi); if load_ref('d') then bugmes();quit;end, if load_ref('n') then bugmes();quit;end, [n,d] = rat(%pi, 0.000000000001); if load_ref('d') then bugmes();quit;end, if load_ref('n') then bugmes();quit;end, %ans = n/d - %pi; if load_ref('%ans') then bugmes();quit;end, xdel_run(winsid()); mclose(%U);