testCharacterSet.cc
Go to the documentation of this file.
optimized set of C chars, with quick membership test and merge support
Definition: CharacterSet.h:18
CharacterSet & addRange(unsigned char low, unsigned char high)
add a list of character ranges, expressed as pairs [low,high], including both ends
Definition: CharacterSet.cc:61
CharacterSet & add(const unsigned char c)
add a given character to the character set
Definition: CharacterSet.cc:47
const char * name
optional set label for debugging (default: "anonymous")
Definition: CharacterSet.h:72
Definition: testCharacterSet.cc:17
CPPUNIT_TEST_SUITE(TestCharacterSet)
CPPUNIT_TEST_SUITE_END()
void CharacterSetConstants()
Definition: testCharacterSet.cc:90
void CharacterSetConstruction()
Definition: testCharacterSet.cc:41
void CharacterSetEqualityOp()
Definition: testCharacterSet.cc:119
CPPUNIT_TEST(CharacterSetConstruction)
CPPUNIT_TEST(CharacterSetSubtract)
CPPUNIT_TEST(CharacterSetAdd)
CPPUNIT_TEST(CharacterSetConstants)
void CharacterSetSubtract()
Definition: testCharacterSet.cc:131
CPPUNIT_TEST(CharacterSetUnion)
CPPUNIT_TEST(CharacterSetEqualityOp)
CPPUNIT_TEST(CharacterSetAddRange)
implements test program's main() function while enabling customization
Definition: unitTestMain.h:26
CPPUNIT_TEST_SUITE_REGISTRATION(TestCharacterSet)