2
#ifndef CPP_UNIT_EXAMPLETESTCASE_H
3
#define CPP_UNIT_EXAMPLETESTCASE_H
5
#include <cppunit/extensions/HelperMacros.h>
8
* A test case that is designed to produce
9
* example errors and failures
13
class ExampleTestCase : public CPPUNIT_NS::TestFixture
15
CPPUNIT_TEST_SUITE( ExampleTestCase );
16
CPPUNIT_TEST( example );
17
CPPUNIT_TEST( anotherExample );
18
CPPUNIT_TEST( testAdd );
19
CPPUNIT_TEST( testDivideByZero );
20
CPPUNIT_TEST( testEquals );
21
CPPUNIT_TEST_SUITE_END();
32
void anotherExample();
34
void testDivideByZero();