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

custom test location for harness tests (extended UnitTest?++), configurable tolerance - all tests pass (most of the time)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/tests/egamma_test.cpp

    r446 r456  
    11#define BDMLIB // not an ideal way to prevent double registration of UI factories... 
    2 #include "base/bdmbase.h" 
    32#include "base/user_info.h" 
    43#include "stat/exp_family.h" 
    5 #include "itpp_ext.h" 
    64#include "epdf_harness.h" 
    7 #include "mat_checks.h" 
    85#include "UnitTest++.h" 
    96 
     
    1512 
    1613TEST(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"); 
    2615}