diff options
-rw-r--r-- | test/UnitTests.cc | 1 | ||||
-rw-r--r-- | test/unit/t_amount.cc | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/test/UnitTests.cc b/test/UnitTests.cc index e176a055..f6a27d3e 100644 --- a/test/UnitTests.cc +++ b/test/UnitTests.cc @@ -15,6 +15,7 @@ CPPUNIT_REGISTRY_ADD_TO_DEFAULT("Framework"); CPPUNIT_REGISTRY_ADD_TO_DEFAULT("numerics"); +CPPUNIT_REGISTRY_ADD_TO_DEFAULT("utility"); // Create a sample test, which acts both as a template, and a // verification that the basic framework is functioning. diff --git a/test/unit/t_amount.cc b/test/unit/t_amount.cc index 69d97af3..6fd78fa6 100644 --- a/test/unit/t_amount.cc +++ b/test/unit/t_amount.cc @@ -1348,13 +1348,9 @@ void AmountTestCase::testCommodityTruth() if (x1) assertTrue(true); - else - assertTrue(false); if (x2) assertTrue(true); - else - assertTrue(false); assertValid(x1); assertValid(x2); |