TestGPHIKRegression.h 996 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef _TESTGPHIKREGRESSION_H
  2. #define _TESTGPHIKREGRESSION_H
  3. #include <cppunit/extensions/HelperMacros.h>
  4. #include <gp-hik-core/GPHIKRegression.h>
  5. /**
  6. * CppUnit-Testcase.
  7. * @brief CppUnit-Testcase to verify that GPHIKRegression works as desired.
  8. * @author Alexander Freytag
  9. * @date 16-01-2014 (dd-mm-yyyy)
  10. */
  11. class TestGPHIKRegression : public CppUnit::TestFixture {
  12. CPPUNIT_TEST_SUITE( TestGPHIKRegression );
  13. CPPUNIT_TEST(testRegressionHoldInData);
  14. CPPUNIT_TEST(testRegressionHoldOutData);
  15. CPPUNIT_TEST(testRegressionOnlineLearnableAdd1Example);
  16. CPPUNIT_TEST(testRegressionOnlineLearnableAddMultipleExamples);
  17. CPPUNIT_TEST_SUITE_END();
  18. private:
  19. public:
  20. void setUp();
  21. void tearDown();
  22. void testRegressionHoldInData();
  23. void testRegressionHoldOutData();
  24. void testRegressionOnlineLearnableAdd1Example();
  25. void testRegressionOnlineLearnableAddMultipleExamples();
  26. };
  27. #endif // _TESTGPHIKREGRESSION_H