Changeset 629 for library/tests
- Timestamp:
- 09/18/09 00:17:11 (15 years ago)
- Location:
- library/tests
- Files:
-
- 2 removed
- 4 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/CMakeLists.txt
r607 r629 7 7 link_directories (./unittest-cpp) 8 8 9 SET(testutil_src e giw_harness.cpp egiw_harness.h epdf_harness.cpp epdf_harness.h mat_checks.cpp mat_checks.h9 SET(testutil_src epdf_harness.cpp epdf_harness.h mat_checks.cpp mat_checks.h 10 10 mpdf_harness.cpp mpdf_harness.h square_mat_point.cpp square_mat_point.h test_util.cpp test_util.h) 11 11 -
library/tests/arx_straux_test.cpp
r607 r629 5 5 6 6 TEST(test_arx_straux){ 7 mat A=" [0.8147 0.9134 0.2785;"7 mat A="0.8147 0.9134 0.2785;" 8 8 "0.9058 0.6324 0.5469;" 9 "0.1270 0.0975 0.9575 ]";9 "0.1270 0.0975 0.9575"; 10 10 11 mat B=" [0.9649 0.9572 0.1419;"11 mat B="0.9649 0.9572 0.1419;" 12 12 "0.1576 0.4854 0.4218;" 13 "0.9706 0.8003 0.9157 ]";13 "0.9706 0.8003 0.9157"; 14 14 //when updateing matrices do not forget to update CHECK_EQUAL below!!! 15 15 -
library/tests/egiw.cfg
r473 r629 1 1 data = ( 2 2 { 3 class = "e giw_harness";3 class = "epdf_harness"; 4 4 epdf = { 5 5 class = "egiw"; … … 13 13 }; 14 14 mean = [ 1.1, 0.1 ]; 15 lognc = 3.39463;16 15 variance = [ 0.01, 8e-05 ]; 17 16 support = ( "matrix", 2, 2, [ -2.0, 4.0, 0.01, 2.0 ] ); … … 20 19 }, 21 20 { 22 class = "e giw_harness";21 class = "epdf_harness"; 23 22 epdf = { 24 23 class = "egiw"; 25 V = ( "matrix", 2, 2, [ 20 .0, 8.0, 8.0, 4.0 ] );26 nu = 4 .0;24 V = ( "matrix", 2, 2, [ 200.0, 80.0, 80.0, 40.0 ] ); 25 nu = 40.0; 27 26 dimx = 1; 28 27 rv : … … 32 31 }; 33 32 }; 34 mean = [ 2, -4 ]; 35 lognc = 0.451583; 36 variance = [ -1, -16 ]; 33 mean = [2.0, 1.14286]; 34 variance = [0.0285714, 0.0395795]; 37 35 } ); 38 36 -
library/tests/egiw_test.cpp
r557 r629 5 5 #include "itpp_ext.h" 6 6 #include "epdf_harness.h" 7 #include "egiw_harness.h"8 7 #include "mat_checks.h" 9 8 #include "UnitTest++.h"