Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54545 - sandbox/numeric_adaptor/libs/numeric_adaptor/test
From: bruno.lalande_at_[hidden]
Date: 2009-06-30 17:06:32


Author: bruno.lalande
Date: 2009-06-30 17:06:31 EDT (Tue, 30 Jun 2009)
New Revision: 54545
URL: http://svn.boost.org/trac/boost/changeset/54545

Log:
Include sqrt in the artihmetic test.
Text files modified:
   sandbox/numeric_adaptor/libs/numeric_adaptor/test/test_arithmetic.cpp | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: sandbox/numeric_adaptor/libs/numeric_adaptor/test/test_arithmetic.cpp
==============================================================================
--- sandbox/numeric_adaptor/libs/numeric_adaptor/test/test_arithmetic.cpp (original)
+++ sandbox/numeric_adaptor/libs/numeric_adaptor/test/test_arithmetic.cpp 2009-06-30 17:06:31 EDT (Tue, 30 Jun 2009)
@@ -56,6 +56,7 @@
     BOOST_CHECK_EQUAL((double)-n6, -2.0);
 
     BOOST_CHECK_EQUAL((double)abs(-n5), 56.0);
+ BOOST_CHECK_EQUAL((double)sqrt(n4), 2.0);
 }
 
 int test_main(int, char*[])


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk