22 #include <cppunit/extensions/HelperMacros.h> 38 #define DEFAULT 0 // Default sampling method, must be valid for every PDF!! 41 #define RIPLEY 3 // For efficient sampling from discrete/mcpdfs 43 class PdfTest :
public CppUnit::TestFixture
46 CPPUNIT_TEST( testMcpdfType );
47 CPPUNIT_TEST( testUniform );
48 CPPUNIT_TEST( testDiscretePdf );
49 CPPUNIT_TEST( testLinearAnalyticConditionalGaussian );
50 CPPUNIT_TEST( testDiscreteConditionalPdf );
51 CPPUNIT_TEST( testMcpdf );
52 CPPUNIT_TEST( testMixture );
53 CPPUNIT_TEST( testGaussian );
54 CPPUNIT_TEST_SUITE_END();
67 void testDiscretePdf();
68 void testLinearAnalyticConditionalGaussian();
69 void testDiscreteConditionalPdf();
78 #endif // PDF_TEST_HPP