Changeset 1079 for library/tests
- Timestamp:
- 06/10/10 21:54:57 (14 years ago)
- Location:
- library/tests/testsuite
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/testsuite/merger.cfg
r717 r1079 12 12 { 13 13 class = "egiw"; 14 V = ( "matrix", 2, 2, [ 20.0, 8.0, 8.0, 4.0 ] );14 fV = ( "matrix", 2, 2, [ 20.0, 8.0, 8.0, 4.0 ] ); 15 15 nu = 4.0; 16 16 dimx = 1.0; … … 29 29 Merger : 30 30 { 31 class = " merger_base";31 class = "MergerDiscrete"; 32 32 beta = 1.0; 33 33 method = "geometric"; -
library/tests/testsuite/merger_test.cpp
r1072 r1079 47 47 lW.set_row ( 1, l_f2 ); 48 48 49 merger_base M ( A );49 MergerDiscrete M ( A ); 50 50 enorm<fsqmat> g0; 51 51 g0.set_rv ( x ); … … 153 153 UIFile in ( "merger.cfg" ); 154 154 155 shared_ptr< merger_base> mb =156 UI::build< merger_base> ( in, "Merger", UI::compulsory );155 shared_ptr<MergerDiscrete> mb = 156 UI::build<MergerDiscrete> ( in, "Merger", UI::compulsory ); 157 157 158 158 pdf_array sources; … … 165 165 166 166 mb->merge(); 167 vec m = mb->me an();167 vec m = mb->merger().mean(); 168 168 CHECK_EQUAL ( 2, m.size() ); 169 169 }