Skip to content
Snippets Groups Projects
ZeroRunLengthEncodingTest.h 654 B
Newer Older
#ifndef ZERO_RUN_LENGTH_ENCODING_TEST_H_
#define ZERO_RUN_LENGTH_ENCODING_TEST_H_

#include <cppunit/extensions/HelperMacros.h>

class ZeroRunLengthEncodingTest : public CppUnit::TestFixture
{
  CPPUNIT_TEST_SUITE( ZeroRunLengthEncodingTest );
  CPPUNIT_TEST( testVectorCompatibility );
  CPPUNIT_TEST( testShifts2 );
  CPPUNIT_TEST( testShifts3 );
  CPPUNIT_TEST( testShifts4 );
  CPPUNIT_TEST( testShifts5 );
  CPPUNIT_TEST_SUITE_END();

public:
  void setUp();
  void tearDown();

  void testVectorCompatibility();
  void testShifts2();
  void testShifts3();
  void testShifts4();
  void testShifts5();
};

#endif  // ZERO_RUN_LENGTH_ENCODING_TEST_H_