TestGMM.h 650 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef _TESTGMM_H
  2. #define _TESTGMM_H
  3. #include <cppunit/extensions/HelperMacros.h>
  4. #include "vislearning/math/cluster/GMM.h"
  5. /**
  6. * CppUnit-Testcase.
  7. * @brief CppUnit-Testcase to verify that the GMM-clustering works correctly
  8. */
  9. class TestGMM : public CppUnit::TestFixture {
  10. CPPUNIT_TEST_SUITE( TestGMM );
  11. CPPUNIT_TEST(testGMMClustering);
  12. CPPUNIT_TEST(testGMMPersistent);
  13. CPPUNIT_TEST_SUITE_END();
  14. private:
  15. public:
  16. void setUp();
  17. void tearDown();
  18. /**
  19. * Constructor / Destructor testing
  20. */
  21. void testGMMClustering();
  22. void testGMMPersistent();
  23. };
  24. #endif // _TESTKMEDIAN_H