getf SCI/util/testexamples.sci reinit_for_test() %U=mopen('SCI/tests/automatic_tests/cmoment_data.ref','rb'); x = [0.2113249,0.0002211,0.6653811; 0.7560439,0.3303271,0.6283918]; if load_ref('x') then bugmes();quit;end, mom = cmoment(x, 3); if load_ref('mom') then bugmes();quit;end, mom = cmoment(x, 2, 'r'); if load_ref('mom') then bugmes();quit;end, mom = cmoment(x, 3, 'c'); if load_ref('mom') then bugmes();quit;end, xdel_run(winsid()); mclose(%U);