TestLaplace.h 634 B

123456789101112131415161718192021222324252627282930
  1. #ifndef _TESTLAPLACE_H
  2. #define _TESTLAPLACE_H
  3. #include <cppunit/extensions/HelperMacros.h>
  4. /**
  5. * CppUnit-Testcase.
  6. * Tests for the Laplace Approximation
  7. */
  8. class TestLaplace : public CppUnit::TestFixture {
  9. CPPUNIT_TEST_SUITE( TestLaplace );
  10. CPPUNIT_TEST( testLikelihoodDiff );
  11. CPPUNIT_TEST( testCumGaussPredict );
  12. CPPUNIT_TEST( testModeFinding );
  13. CPPUNIT_TEST( testHyperParameterOptGradients );
  14. CPPUNIT_TEST_SUITE_END();
  15. private:
  16. public:
  17. void setUp();
  18. void tearDown();
  19. void testLikelihoodDiff();
  20. void testCumGaussPredict();
  21. void testModeFinding();
  22. void testHyperParameterOptGradients();
  23. };
  24. #endif