root/library/tests/egamma_test.cpp @ 446

Revision 446, 0.6 kB (checked in by vbarta, 15 years ago)

removed unused code

Line 
1#define BDMLIB // not an ideal way to prevent double registration of UI factories...
2#include "base/bdmbase.h"
3#include "base/user_info.h"
4#include "stat/exp_family.h"
5#include "itpp_ext.h"
6#include "epdf_harness.h"
7#include "mat_checks.h"
8#include "UnitTest++.h"
9
10using namespace bdm;
11
12template<>
13const ParticularUI<egamma> &ParticularUI<egamma>::factory(
14    ParticularUI<egamma>("egamma"));
15
16TEST(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    }
26}
Note: See TracBrowser for help on using the browser.