00001 #include <cppunit/TestCaller.h> 00002 #include <cppunit/TestCase.h> 00003 #include <cppunit/TestSuite.h> 00004 00005 #include "type.h" 00006 00007 class DfaTest : public CppUnit::TestCase { 00008 protected: 00009 00010 public: 00011 DfaTest(std::string name) : CppUnit::TestCase (name) 00012 {} 00013 00014 virtual void registerTests(CppUnit::TestSuite* suite); 00015 00016 int countTestCases () const; 00017 00018 void setUp (); 00019 void tearDown (); 00020 00021 void testMeetInt(); 00022 void testMeetSize(); 00023 void testMeetPointer(); 00024 void testMeetUnion(); 00025 }; 00026