#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<egamma> &ParticularUI<egamma>::factory (
    ParticularUI<egamma> ( "egamma" ) );

template<>
const ParticularUI<enorm<ldmat> > &ParticularUI<enorm<ldmat> >::factory (
    ParticularUI<enorm<ldmat> > ( "enorm<ldmat>" ) );

template<>
const ParticularUI<enorm<fsqmat> > &ParticularUI<enorm<fsqmat> >::factory (
    ParticularUI<enorm<fsqmat> > ( "enorm<fsqmat>" ) );

template<>
const ParticularUI<enorm<chmat> > &ParticularUI<enorm<chmat> >::factory (
    ParticularUI<enorm<chmat> > ( "enorm<chmat>" ) );

TEST ( test_egamma ) {
	epdf_harness::test_config ( "egamma.cfg" );
}

TEST ( test_enorm ) {
	epdf_harness::test_config ( "enorm.cfg" );
}
