TestFastHIK.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #ifndef _TESTFASTHIK_H
  2. #define _TESTFASTHIK_H
  3. #include <cppunit/extensions/HelperMacros.h>
  4. #include <gp-hik-core/GMHIKernel.h>
  5. /**
  6. * CppUnit-Testcase.
  7. * @brief CppUnit-Testcase to verify that all important methods of the gp-hik framework perform as desired
  8. */
  9. class TestFastHIK : public CppUnit::TestFixture {
  10. CPPUNIT_TEST_SUITE( TestFastHIK );
  11. CPPUNIT_TEST(testKernelMultiplication);
  12. CPPUNIT_TEST(testKernelMultiplicationFast);
  13. CPPUNIT_TEST(testKernelSum);
  14. CPPUNIT_TEST(testKernelSumFast);
  15. CPPUNIT_TEST(testLUTUpdate);
  16. CPPUNIT_TEST(testLinSolve);
  17. CPPUNIT_TEST(testKernelVector);
  18. CPPUNIT_TEST(testAddExample);
  19. CPPUNIT_TEST(testAddMultipleExamples);
  20. CPPUNIT_TEST_SUITE_END();
  21. private:
  22. public:
  23. void setUp();
  24. void tearDown();
  25. /**
  26. * Constructor / Destructor testing
  27. */
  28. void testKernelMultiplication();
  29. void testKernelMultiplicationFast();
  30. void testKernelSum();
  31. void testKernelSumFast();
  32. void testLUTUpdate();
  33. void testLinSolve();
  34. void testKernelVector();
  35. void testAddExample();
  36. void testAddMultipleExamples();
  37. };
  38. #endif // _TESTFASTHIK_H