TestConvert.h 851 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #ifndef _TESTCONVERT_H_
  2. #define _TESTCONVERT_H_
  3. #include <cppunit/extensions/HelperMacros.h>
  4. #include "core/image/ImageT.h"
  5. #include "core/image/ColorImageT.h"
  6. /**
  7. * CppUnit-Testcase.
  8. * Tests for Filter Operations
  9. */
  10. class TestConvert : public CppUnit::TestFixture
  11. {
  12. CPPUNIT_TEST_SUITE( TestConvert );
  13. CPPUNIT_TEST( testColorspaceConversion );
  14. CPPUNIT_TEST( testImageConversion );
  15. CPPUNIT_TEST( testGrayFloat );
  16. CPPUNIT_TEST( testRGBFloat );
  17. CPPUNIT_TEST( testfloatToGrayScaled );
  18. CPPUNIT_TEST( testconvertBitDepth );
  19. CPPUNIT_TEST_SUITE_END();
  20. private:
  21. public:
  22. void setUp();
  23. void tearDown();
  24. void testColorspaceConversion();
  25. void testImageConversion();
  26. void testGrayFloat();
  27. void testfloatToGrayScaled();
  28. void testRGBFloat();
  29. void testconvertBitDepth();
  30. };
  31. #endif // _TESTCONVERT_H_