Changeset 725 for library/tests/testsuite
- Timestamp:
- 11/17/09 00:53:54 (15 years ago)
- Location:
- library/tests/testsuite
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/testsuite/egiw.cfg
r717 r725 12 12 }; 13 13 }; 14 mean = [ 1.1, 0. 1];15 variance = [ 0.0 1, 8e-05];14 mean = [ 1.1, 0.2 ]; 15 variance = [ 0.02, 0.01333 ]; 16 16 support = ( "matrix", 2, 2, [ -2.0, 4.0, 0.01, 2.0 ] ); 17 17 nbins = [ 100, 200 ]; 18 tolerance = 0. 2;18 tolerance = 0.01; 19 19 }, 20 20 { … … 33 33 mean = [2.0, 1.14286]; 34 34 variance = [0.0285714, 0.0395795]; 35 support = ( "matrix", 2, 2, [ 0.0, 4.0, 0.01, 3.0 ] ); 36 nbins = [ 100, 200 ]; 37 tolerance = 0.01; 35 38 } ); 36 39 -
library/tests/testsuite/epdf_test.cpp
r723 r725 43 43 44 44 TEST ( ewishart_test ) { 45 mat wM = "1 .0 0.9; 0.9 1.0";45 mat wM = "10.0 0.9; 0.9 1.0"; 46 46 eWishartCh eW; 47 47 eW.set_parameters ( wM / 100, 100 ); … … 53 53 } 54 54 55 mat observed ( "0.978486 0.88637; 0.88637 0.992141" );56 55 mat actual = mea / 100; 57 CHECK_CLOSE ( observed, actual, 0.1 );56 CHECK_CLOSE ( wM, actual, 0.1 ); 58 57 } 59 58