Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66819 - sandbox/geometry/libs/geometry/test/extensions/gis/projections
From: barend.gehrels_at_[hidden]
Date: 2010-11-28 09:39:00


Author: barendgehrels
Date: 2010-11-28 09:38:59 EST (Sun, 28 Nov 2010)
New Revision: 66819
URL: http://svn.boost.org/trac/boost/changeset/66819

Log:
Fixed deprecated boost-test-tools construct
Text files modified:
   sandbox/geometry/libs/geometry/test/extensions/gis/projections/projections.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/geometry/libs/geometry/test/extensions/gis/projections/projections.cpp
==============================================================================
--- sandbox/geometry/libs/geometry/test/extensions/gis/projections/projections.cpp (original)
+++ sandbox/geometry/libs/geometry/test/extensions/gis/projections/projections.cpp 2010-11-28 09:38:59 EST (Sun, 28 Nov 2010)
@@ -33,7 +33,7 @@
 
 inline void check(double v, double ve, std::string const& name, std::string const& axis)
 {
- if (! boost::test_tools::check_is_close(v, ve, boost::test_tools::percent_tolerance(0.001)))
+ if (! boost::test_tools::check_is_close(v, ve, 0.001))
     {
         std::ostringstream out;
         out << "\n" << name << " " << axis << " -> " << v << " != " << ve;


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