Changeset 457 for library/tests

Show
Ignore:
Timestamp:
07/31/09 08:46:16 (15 years ago)
Author:
vbarta
Message:

moved generic configurable tests to common source files

Location:
library/tests
Files:
1 removed
1 modified
2 moved

Legend:

Unmodified
Added
Removed
  • library/tests/CMakeLists.txt

    r453 r457  
    3333 
    3434# using UnitTest++ 
    35 add_executable(testsuite datalink_test.cpp egamma_test.cpp egiw_test.cpp enorm_test.cpp loggers_test.cpp mepdf_test.cpp mgamma_test.cpp rv_test.cpp square_mat_test.cpp testsuite.cpp test_user_info.cpp test_shared_ptr.cpp) 
     35add_executable(testsuite datalink_test.cpp egiw_test.cpp epdf_test.cpp loggers_test.cpp mepdf_test.cpp mpdf_test.cpp rv_test.cpp square_mat_test.cpp testsuite.cpp test_user_info.cpp test_shared_ptr.cpp) 
    3636target_link_libraries(testsuite bdm itpp testutil unittest) 
    3737 
  • library/tests/epdf_test.cpp

    r456 r457  
    1111    ParticularUI<egamma>("egamma")); 
    1212 
     13template<> 
     14const ParticularUI<enorm<ldmat> > &ParticularUI<enorm<ldmat> >::factory( 
     15    ParticularUI<enorm<ldmat> >("enorm<ldmat>")); 
     16 
     17template<> 
     18const ParticularUI<enorm<fsqmat> > &ParticularUI<enorm<fsqmat> >::factory( 
     19    ParticularUI<enorm<fsqmat> >("enorm<fsqmat>")); 
     20 
     21 template<> 
     22const ParticularUI<enorm<chmat> > &ParticularUI<enorm<chmat> >::factory( 
     23    ParticularUI<enorm<chmat> >("enorm<chmat>")); 
     24 
    1325TEST(test_egamma) { 
    1426    epdf_harness::test_config("egamma.cfg"); 
    1527} 
     28 
     29TEST(test_enorm) { 
     30    epdf_harness::test_config("enorm.cfg"); 
     31}