Changeset 456 for library/tests/egamma_test.cpp
- Timestamp:
- 07/31/09 08:38:18 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/egamma_test.cpp
r446 r456 1 1 #define BDMLIB // not an ideal way to prevent double registration of UI factories... 2 #include "base/bdmbase.h"3 2 #include "base/user_info.h" 4 3 #include "stat/exp_family.h" 5 #include "itpp_ext.h"6 4 #include "epdf_harness.h" 7 #include "mat_checks.h"8 5 #include "UnitTest++.h" 9 6 … … 15 12 16 13 TEST(test_egamma) { 17 RV::clear_all(); 18 UIFile in("egamma.cfg"); 19 Array<epdf_harness *> input; 20 UI::get(input, in, "data"); 21 int sz = input.size(); 22 CHECK(sz > 0); 23 for (int i = 0; i < sz; ++i) { 24 input(i)->test(); 25 } 14 epdf_harness::test_config("egamma.cfg"); 26 15 }