getf SCI/util/testexamples.sci reinit_for_test() %U=mopen('SCI/tests/automatic_tests/genmarkov_data.ref','rb'); //P has two recurrent classes (with 2 and 1 states) 2 transient states P = genmarkov([2,1], 2, 'perm'); if load_ref('P') then bugmes();quit;end, [perm,rec,tr,indsRec,indsT] = classmarkov(P); %ans = P(perm, perm); if load_ref('%ans') then bugmes();quit;end, xdel_run(winsid()); mclose(%U);