Changeset 480 for library/tests/mpdf_harness.cpp
- Timestamp:
- 08/06/09 07:49:38 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/mpdf_harness.cpp
r477 r480 18 18 UIFile in ( config_file_name ); 19 19 Array<mpdf_harness *> input; 20 UI::get ( input, in, "data" );20 UI::get ( input, in, "data", UI::compulsory ); 21 21 int sz = input.size(); 22 22 CHECK ( sz > 0 ); … … 31 31 UI::get ( mean, set, "mean", UI::compulsory ); 32 32 33 34 UI::get ( nsamples, set, "nsamples" ); 35 UI::get ( R, set, "R" ); 36 UI::get ( tolerance, set, "tolerance" ); 33 UI::get ( nsamples, set, "nsamples", UI::optional ); 34 UI::get ( R, set, "R", UI::optional ); 35 UI::get ( tolerance, set, "tolerance", UI::optional ); 37 36 } 38 37 … … 45 44 mat er = ( smp * smp.T() ) / n - outer_product ( emu, emu ); 46 45 CHECK_CLOSE_EX ( mean, emu, tolerance ); 47 CHECK_CLOSE_EX ( R, er, tolerance ); 46 47 if ( R.rows() > 0 ) { 48 CHECK_CLOSE_EX ( R, er, tolerance ); 49 } 48 50 } 49 51