|
Revision 456, 0.6 kB
(checked in by vbarta, 16 years ago)
|
|
custom test location for harness tests (extended UnitTest?++), configurable tolerance - all tests pass (most of the time)
|
| Line | |
|---|
| 1 | /*! |
|---|
| 2 | \file |
|---|
| 3 | \brief Support for testing egiw. |
|---|
| 4 | \author Vaclav Barta. |
|---|
| 5 | |
|---|
| 6 | ----------------------------------- |
|---|
| 7 | BDM++ - C++ library for Bayesian Decision Making under Uncertainty |
|---|
| 8 | |
|---|
| 9 | Using IT++ for numerical operations |
|---|
| 10 | ----------------------------------- |
|---|
| 11 | */ |
|---|
| 12 | |
|---|
| 13 | #ifndef EGIW_HARNESS_H |
|---|
| 14 | #define EGIW_HARNESS_H |
|---|
| 15 | |
|---|
| 16 | #include "epdf_harness.h" |
|---|
| 17 | |
|---|
| 18 | namespace bdm |
|---|
| 19 | { |
|---|
| 20 | |
|---|
| 21 | class egiw_harness : public epdf_harness |
|---|
| 22 | { |
|---|
| 23 | private: |
|---|
| 24 | double lognc; |
|---|
| 25 | |
|---|
| 26 | public: |
|---|
| 27 | egiw_harness():lognc(0) { } |
|---|
| 28 | |
|---|
| 29 | void test(const char *config_name, int idx); |
|---|
| 30 | |
|---|
| 31 | void from_setting(const Setting &set); |
|---|
| 32 | }; |
|---|
| 33 | |
|---|
| 34 | } |
|---|
| 35 | |
|---|
| 36 | #endif |
|---|