summaryrefslogtreecommitdiff
path: root/tests/numerics/BasicAmount.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/numerics/BasicAmount.h')
-rw-r--r--tests/numerics/BasicAmount.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/numerics/BasicAmount.h b/tests/numerics/BasicAmount.h
index a6c8aff7..12449e49 100644
--- a/tests/numerics/BasicAmount.h
+++ b/tests/numerics/BasicAmount.h
@@ -8,9 +8,9 @@ class BasicAmountTestCase : public CPPUNIT_NS::TestCase
CPPUNIT_TEST_SUITE(BasicAmountTestCase);
CPPUNIT_TEST(testConstructors);
- CPPUNIT_TEST(testNegation);
CPPUNIT_TEST(testAssignment);
CPPUNIT_TEST(testEquality);
+ CPPUNIT_TEST(testComparisons);
CPPUNIT_TEST(testIntegerAddition);
CPPUNIT_TEST(testFractionalAddition);
CPPUNIT_TEST(testIntegerSubtraction);
@@ -19,15 +19,15 @@ class BasicAmountTestCase : public CPPUNIT_NS::TestCase
CPPUNIT_TEST(testFractionalMultiplication);
CPPUNIT_TEST(testIntegerDivision);
CPPUNIT_TEST(testFractionalDivision);
- CPPUNIT_TEST(testIntegerConversion);
- CPPUNIT_TEST(testFractionalConversion);
+ CPPUNIT_TEST(testNegation);
+ CPPUNIT_TEST(testAbs);
CPPUNIT_TEST(testFractionalRound);
+ CPPUNIT_TEST(testReduction);
+ CPPUNIT_TEST(testSign);
CPPUNIT_TEST(testTruth);
CPPUNIT_TEST(testForZero);
- CPPUNIT_TEST(testComparisons);
- CPPUNIT_TEST(testSign);
- CPPUNIT_TEST(testAbs);
- CPPUNIT_TEST(testReduction);
+ CPPUNIT_TEST(testIntegerConversion);
+ CPPUNIT_TEST(testFractionalConversion);
CPPUNIT_TEST(testPrinting);
CPPUNIT_TEST_SUITE_END();
@@ -40,9 +40,9 @@ public:
virtual void tearDown();
void testConstructors();
- void testNegation();
void testAssignment();
void testEquality();
+ void testComparisons();
void testIntegerAddition();
void testFractionalAddition();
void testIntegerSubtraction();
@@ -51,15 +51,15 @@ public:
void testFractionalMultiplication();
void testIntegerDivision();
void testFractionalDivision();
- void testIntegerConversion();
- void testFractionalConversion();
+ void testNegation();
+ void testAbs();
void testFractionalRound();
+ void testReduction();
+ void testSign();
void testTruth();
void testForZero();
- void testComparisons();
- void testSign();
- void testAbs();
- void testReduction();
+ void testIntegerConversion();
+ void testFractionalConversion();
void testPrinting();
private: