summaryrefslogtreecommitdiff
path: root/test/unit/t_commodity.h
blob: 6790362882c307b12ffa527d23ea024be1b4d90b (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
#ifndef _T_COMMMODITY_H
#define _T_COMMMODITY_H

#include "UnitTests.h"

class CommodityTestCase : public CPPUNIT_NS::TestCase
{
  CPPUNIT_TEST_SUITE(CommodityTestCase);

  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 testPriceHistory();
  void testLots();
  void testScalingBase();
  void testReduction();

private:
  CommodityTestCase(const CommodityTestCase &copy);
  void operator=(const CommodityTestCase &copy);
};

#endif // _T_COMMMODITY_H