TestKMedian.h 605 B

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