|
Revision 456, 390 bytes
(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 | #define BDMLIB // not an ideal way to prevent double registration of UI factories... |
|---|
| 2 | #include "base/user_info.h" |
|---|
| 3 | #include "stat/exp_family.h" |
|---|
| 4 | #include "epdf_harness.h" |
|---|
| 5 | #include "UnitTest++.h" |
|---|
| 6 | |
|---|
| 7 | using namespace bdm; |
|---|
| 8 | |
|---|
| 9 | template<> |
|---|
| 10 | const ParticularUI<egamma> &ParticularUI<egamma>::factory( |
|---|
| 11 | ParticularUI<egamma>("egamma")); |
|---|
| 12 | |
|---|
| 13 | TEST(test_egamma) { |
|---|
| 14 | epdf_harness::test_config("egamma.cfg"); |
|---|
| 15 | } |
|---|