root/library/tests/egiw_harness.cpp @ 471

Revision 471, 0.6 kB (checked in by mido, 15 years ago)

1) ad UserInfo?: UI::get a UI::build predelany tak, ze vraci fals / NULL v pripade neexistence pozadovaneho Settingu, pridana enumericky typ UI::SettingPresence?, predelany stavajici UI implementace, dodelana UI dokumentace
2) dokoncena konfigurace ASTYLERU, brzy bude aplikovan
3) doxygen nastaven tak, ze vytvari soubor doxy_warnings.txt

Line 
1#include "egiw_harness.h"
2#include "stat/exp_family.h"
3#include "mat_checks.h"
4#include "test_util.h"
5#include "UnitTest++.h"
6
7namespace bdm {
8
9void egiw_harness::from_setting(const Setting &set) {
10    epdf_harness::from_setting(set);                           
11    UI::get(lognc, set, "lognc", UI::compulsory);
12}
13
14void egiw_harness::test(const char *config_name, int idx)
15{
16    epdf_harness::test(config_name, idx);
17
18    CurrentContext cc(config_name, idx);
19
20    egiw *wide = dynamic_cast<egiw *>(get_epdf());
21    CHECK(wide);
22
23    CHECK_CLOSE_EX(lognc, wide->lognc(), get_tolerance());
24}
25
26}
Note: See TracBrowser for help on using the browser.