From 6ec2f6b59be2fe8e621e97a39836e7033fd0f240 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 7 May 2007 10:27:29 +0000 Subject: Reconfigure some of the operators. --- tests/numerics/BasicAmount.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/numerics/BasicAmount.cc') diff --git a/tests/numerics/BasicAmount.cc b/tests/numerics/BasicAmount.cc index a6772b13..6d9e3dc7 100644 --- a/tests/numerics/BasicAmount.cc +++ b/tests/numerics/BasicAmount.cc @@ -149,6 +149,13 @@ void BasicAmountTestCase::testComparisons() CPPUNIT_ASSERT(x3 < x1); CPPUNIT_ASSERT(x3 < x4); + CPPUNIT_ASSERT(x1 < 100L); + CPPUNIT_ASSERT(x1 < 100UL); + CPPUNIT_ASSERT(x1 < 100.0); + CPPUNIT_ASSERT(100L > x1); + CPPUNIT_ASSERT(100UL > x1); + CPPUNIT_ASSERT(100.0 > x1); + CPPUNIT_ASSERT(x0.valid()); CPPUNIT_ASSERT(x1.valid()); CPPUNIT_ASSERT(x2.valid()); -- cgit v1.2.3