blob: 46af6ecfbce663d81a1f9eec826bf048ed487954 (
plain)
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
|
#ifndef _COMMMODITY_H
#define _COMMMODITY_H
#include "UnitTests.h"
class CommodityTestCase : public CPPUNIT_NS::TestCase
{
CPPUNIT_TEST_SUITE(CommodityTestCase);
CPPUNIT_TEST(testConstructors);
CPPUNIT_TEST(testPriceHistory);
CPPUNIT_TEST(testLots);
CPPUNIT_TEST(testScalingBase);
CPPUNIT_TEST(testReduction);
CPPUNIT_TEST_SUITE_END();
public:
CommodityTestCase() {}
virtual ~CommodityTestCase() {}
virtual void setUp();
virtual void tearDown();
void testConstructors();
void testPriceHistory();
void testLots();
void testScalingBase();
void testReduction();
private:
CommodityTestCase(const CommodityTestCase ©);
void operator=(const CommodityTestCase ©);
};
#endif /* _COMMMODITY_H */
|