getf SCI/util/testexamples.sci reinit_for_test() %U=mopen('SCI/tests/automatic_tests/companion_data.ref','rb'); s = poly(0, 's'); p = poly([1,2,3,4,1], 's', 'c'); if load_ref('p') then bugmes();quit;end, %ans = det(s * eye() - companion(p)); if load_ref('%ans') then bugmes();quit;end, %ans = roots(p); if load_ref('%ans') then bugmes();quit;end, %ans = spec(companion(p)); if load_ref('%ans') then bugmes();quit;end, xdel_run(winsid()); mclose(%U);