ledger/test/unit/t_commodity.h
John Wiegley 79a7976600 Reorganized Ledger so that it builds as 7 separate libraries. This is mainly
to prove to myself that it has proper decoupling between prior code areas.
2009-01-25 01:10:05 -04:00

34 lines
682 B
C++

#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