Revision 477, 0.6 kB
(checked in by mido, 15 years ago)
|
panove, vite, jak jsem peclivej na upravu kodu.. snad se vam bude libit:) konfigurace je v souboru /system/astylerc
|
Rev | Line | |
---|
[439] | 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 | |
---|
| 7 | namespace bdm { |
---|
| 8 | |
---|
[477] | 9 | void egiw_harness::from_setting ( const Setting &set ) { |
---|
| 10 | epdf_harness::from_setting ( set ); |
---|
| 11 | UI::get ( lognc, set, "lognc", UI::compulsory ); |
---|
[439] | 12 | } |
---|
| 13 | |
---|
[477] | 14 | void egiw_harness::test ( const char *config_name, int idx ) { |
---|
| 15 | epdf_harness::test ( config_name, idx ); |
---|
[439] | 16 | |
---|
[477] | 17 | CurrentContext cc ( config_name, idx ); |
---|
[456] | 18 | |
---|
[477] | 19 | egiw *wide = dynamic_cast<egiw *> ( get_epdf() ); |
---|
| 20 | CHECK ( wide ); |
---|
[439] | 21 | |
---|
[477] | 22 | if ( wide ) { |
---|
| 23 | CHECK_CLOSE_EX ( lognc, wide->lognc(), get_tolerance() ); |
---|
| 24 | } |
---|
[439] | 25 | } |
---|
| 26 | |
---|
| 27 | } |
---|