summaryrefslogtreecommitdiff
path: root/tests/numerics/CommodityAmount.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-07 10:43:15 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:40 -0400
commit39b0a03f8281c2ee7af57326d49dcedd1eb29a47 (patch)
treeffc7cc9838f784aa22db16b882f81dcf6d01aca4 /tests/numerics/CommodityAmount.h
parent6ec2f6b59be2fe8e621e97a39836e7033fd0f240 (diff)
downloadledger-39b0a03f8281c2ee7af57326d49dcedd1eb29a47.tar.gz
ledger-39b0a03f8281c2ee7af57326d49dcedd1eb29a47.tar.bz2
ledger-39b0a03f8281c2ee7af57326d49dcedd1eb29a47.zip
Changed the filenames of the tests.
Diffstat (limited to 'tests/numerics/CommodityAmount.h')
-rw-r--r--tests/numerics/CommodityAmount.h62
1 files changed, 0 insertions, 62 deletions
diff --git a/tests/numerics/CommodityAmount.h b/tests/numerics/CommodityAmount.h
deleted file mode 100644
index d80a3e15..00000000
--- a/tests/numerics/CommodityAmount.h
+++ /dev/null
@@ -1,62 +0,0 @@
-#ifndef _COMMODITYAMOUNT_H
-#define _COMMODITYAMOUNT_H
-
-#include "UnitTests.h"
-
-class CommodityAmountTestCase : public CPPUNIT_NS::TestCase
-{
- CPPUNIT_TEST_SUITE(CommodityAmountTestCase);
-
- CPPUNIT_TEST(testConstructors);
- CPPUNIT_TEST(testNegation);
- CPPUNIT_TEST(testAssignment);
- CPPUNIT_TEST(testEquality);
- CPPUNIT_TEST(testAddition);
- CPPUNIT_TEST(testSubtraction);
- CPPUNIT_TEST(testMultiplication);
- CPPUNIT_TEST(testDivision);
- CPPUNIT_TEST(testConversion);
- CPPUNIT_TEST(testRound);
- CPPUNIT_TEST(testDisplayRound);
- CPPUNIT_TEST(testTruth);
- CPPUNIT_TEST(testForZero);
- CPPUNIT_TEST(testComparisons);
- CPPUNIT_TEST(testSign);
- CPPUNIT_TEST(testAbs);
- CPPUNIT_TEST(testPrinting);
-
- CPPUNIT_TEST_SUITE_END();
-
-public:
- ledger::session_t session;
-
- CommodityAmountTestCase() {}
- virtual ~CommodityAmountTestCase() {}
-
- virtual void setUp();
- virtual void tearDown();
-
- void testConstructors();
- void testNegation();
- void testAssignment();
- void testEquality();
- void testAddition();
- void testSubtraction();
- void testMultiplication();
- void testDivision();
- void testConversion();
- void testRound();
- void testDisplayRound();
- void testTruth();
- void testForZero();
- void testComparisons();
- void testSign();
- void testAbs();
- void testPrinting();
-
-private:
- CommodityAmountTestCase(const CommodityAmountTestCase &copy);
- void operator=(const CommodityAmountTestCase &copy);
-};
-
-#endif /* _COMMODITYAMOUNT_H */