1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
#ifndef UNIVERSAL_INTEGER_TEST_HH
#define UNIVERSAL_INTEGER_TEST_HH
#include <cppunit/extensions/HelperMacros.h>
#include "VHDLDataTest.hh"
class UniversalInteger;
class UniversalIntegerTest : public VHDLDataTest {
CPPUNIT_TEST_SUITE( UniversalIntegerTest);
CPPUNIT_TEST(testGetUniversalKind);
CPPUNIT_TEST(testGetLength);
CPPUNIT_TEST(testPrint);
CPPUNIT_TEST(testEqual);
CPPUNIT_TEST(testNotEqual);
CPPUNIT_TEST(testGreater);
CPPUNIT_TEST(testGreaterEqual);
CPPUNIT_TEST(testLess);
CPPUNIT_TEST(testLessEqual);
CPPUNIT_TEST(testClone);
CPPUNIT_TEST(testSerialization);
CPPUNIT_TEST(testMinus);
CPPUNIT_TEST(testPlus);
CPPUNIT_TEST(testMultiply);
CPPUNIT_TEST(testDivide);
CPPUNIT_TEST_SUITE_END();
private:
UniversalInteger *toTest;
static int getDefaultValue();
public:
void setUp();
void tearDown();
void testGetUniversalKind();
void testGetLength();
void testPrint();
void testEqual();
void testNotEqual();
void testGreater();
void testGreaterEqual();
void testLess();
void testLessEqual();
void testClone();
void testSerialization();
void testPlus();
void testMinus();
void testMultiply();
void testDivide();
};
#endif
|