From c8899addfd2deed3d84be2de234681db64987722 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 30 Apr 2007 06:26:38 +0000 Subject: Rearranged the sources a bit. --- tests/corelib/numerics/CommodityAmount.h | 60 -------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 tests/corelib/numerics/CommodityAmount.h (limited to 'tests/corelib/numerics/CommodityAmount.h') diff --git a/tests/corelib/numerics/CommodityAmount.h b/tests/corelib/numerics/CommodityAmount.h deleted file mode 100644 index 5ffa7810..00000000 --- a/tests/corelib/numerics/CommodityAmount.h +++ /dev/null @@ -1,60 +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: - 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 ©); - void operator=(const CommodityAmountTestCase ©); -}; - -#endif /* _COMMODITYAMOUNT_H */ -- cgit v1.2.3