Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68711 - in trunk/libs/geometry/test/extensions/gis: latlong projections
From: barend.gehrels_at_[hidden]
Date: 2011-02-08 06:30:57


Author: barendgehrels
Date: 2011-02-08 06:30:35 EST (Tue, 08 Feb 2011)
New Revision: 68711
URL: http://svn.boost.org/trac/boost/changeset/68711

Log:
Small fixes in test
Text files modified:
   trunk/libs/geometry/test/extensions/gis/latlong/area_ll.cpp | 4 ++--
   trunk/libs/geometry/test/extensions/gis/projections/projections.cpp | 4 ++--
   2 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/libs/geometry/test/extensions/gis/latlong/area_ll.cpp
==============================================================================
--- trunk/libs/geometry/test/extensions/gis/latlong/area_ll.cpp (original)
+++ trunk/libs/geometry/test/extensions/gis/latlong/area_ll.cpp 2011-02-08 06:30:35 EST (Tue, 08 Feb 2011)
@@ -31,8 +31,8 @@
 
 template <typename PRJ, typename XY, typename LL>
 void add_to_ring(PRJ const& prj, LL const& ll,
- bg::model::linear_ring<LL>& ring_ll,
- bg::model::linear_ring<XY>& ring_xy)
+ bg::model::ring<LL>& ring_ll,
+ bg::model::ring<XY>& ring_xy)
 {
     ring_ll.push_back(ll);
 

Modified: trunk/libs/geometry/test/extensions/gis/projections/projections.cpp
==============================================================================
--- trunk/libs/geometry/test/extensions/gis/projections/projections.cpp (original)
+++ trunk/libs/geometry/test/extensions/gis/projections/projections.cpp 2011-02-08 06:30:35 EST (Tue, 08 Feb 2011)
@@ -37,9 +37,9 @@
     //BOOST_CHECK_CLOSE(v, ve, 0.001);
     // Instead of (non-existing) BOOST_CHECK_CLOSE_MESSAGE(v, ve, 0.001, bla bla)
 
- 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, boost::test_tools::percent_tolerance(0.001)))
     // Boost.Trunk:
- //if (! boost::test_tools::check_is_close(v, ve, boost::math::fpc::percent_tolerance(0.001)))
+ if (! boost::test_tools::check_is_close(v, ve, boost::math::fpc::percent_tolerance(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