#define BDMLIB // not an ideal way to prevent double registration of UI factories... #include "base/user_info.h" #include "stat/exp_family.h" #include "epdf_harness.h" #include "UnitTest++.h" using namespace bdm; template<> const ParticularUI &ParticularUI::factory ( ParticularUI ( "egamma" ) ); template<> const ParticularUI > &ParticularUI >::factory ( ParticularUI > ( "enorm" ) ); template<> const ParticularUI > &ParticularUI >::factory ( ParticularUI > ( "enorm" ) ); template<> const ParticularUI > &ParticularUI >::factory ( ParticularUI > ( "enorm" ) ); TEST ( test_egamma ) { epdf_harness::test_config ( "egamma.cfg" ); } TEST ( test_enorm ) { epdf_harness::test_config ( "enorm.cfg" ); }