#include "estim/arx.h" #include "mat_checks.h" using namespace bdm; TEST ( arx_straux_test ) { UIFile F ( "arx_straux_test.cfg" ); Setting &tests=F.getRoot() ["tests"]; for ( int i=0;i o2; ivec o1 = straux1 ( Ld1,20, Ld0, 10, belief, nbest, nrep, lambda, k, o2 ); //o1 is messed up in matlab's straux sort ( o1_ok ); sort ( o1 ); CHECK_EQUAL ( o1_ok, o1 ); } }