getf SCI/util/testexamples.sci reinit_for_test() %U=mopen('SCI/tests/automatic_tests/norm_data.ref','rb'); A = [1,2,3]; %ans = norm(A, 1); if load_ref('%ans') then bugmes();quit;end, %ans = norm(A, 'inf'); if load_ref('%ans') then bugmes();quit;end, A = [1,2;3,4]; if load_ref('A') then bugmes();quit;end, %ans = max(svd(A)) - norm(A); if load_ref('%ans') then bugmes();quit;end, A = sparse([1,0,0,33,-1]); if load_ref('A') then bugmes();quit;end, %ans = norm(A); if load_ref('%ans') then bugmes();quit;end, xdel_run(winsid()); mclose(%U);