|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r72235 - in trunk/libs/geometry/test: algorithms strategies
From: barend.gehrels_at_[hidden]
Date: 2011-05-27 18:34:20
Author: barendgehrels
Date: 2011-05-27 18:34:19 EDT (Fri, 27 May 2011)
New Revision: 72235
URL: http://svn.boost.org/trac/boost/changeset/72235
Log:
Fixed two tests w.r.t. spherical polar/equatorial
Text files modified:
trunk/libs/geometry/test/algorithms/area.cpp | 2 +-
trunk/libs/geometry/test/strategies/haversine.cpp | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/libs/geometry/test/algorithms/area.cpp
==============================================================================
--- trunk/libs/geometry/test/algorithms/area.cpp (original)
+++ trunk/libs/geometry/test/algorithms/area.cpp 2011-05-27 18:34:19 EDT (Fri, 27 May 2011)
@@ -140,7 +140,7 @@
test_all<bg::model::point<double, 2, bg::cs::cartesian> >();
test_spherical<bg::model::point<double, 2, bg::cs::spherical_equatorial<bg::degree> > >();
- test_spherical<bg::model::point<double, 2, bg::cs::spherical<bg::degree> > >(true);
+ //test_spherical<bg::model::point<double, 2, bg::cs::spherical<bg::degree> > >(true);
test_ccw<bg::model::point<double, 2, bg::cs::cartesian> >();
test_open<bg::model::point<double, 2, bg::cs::cartesian> >();
Modified: trunk/libs/geometry/test/strategies/haversine.cpp
==============================================================================
--- trunk/libs/geometry/test/strategies/haversine.cpp (original)
+++ trunk/libs/geometry/test/strategies/haversine.cpp 2011-05-27 18:34:19 EDT (Fri, 27 May 2011)
@@ -258,14 +258,14 @@
#if defined(HAVE_TTMATH)
typedef ttmath::Big<1,4> tt;
- test_all<bg::model::point<tt, 2, bg::cs::spherical<bg::degree> >, geographic_policy>();
+ test_all<bg::model::point<tt, 2, bg::cs::spherical_equatorial<bg::degree> >, geographic_policy>();
#endif
test_services
<
- bg::model::point<double, 2, bg::cs::spherical<bg::degree> >,
- bg::model::point<double, 2, bg::cs::spherical<bg::degree> >,
+ bg::model::point<double, 2, bg::cs::spherical_equatorial<bg::degree> >,
+ bg::model::point<double, 2, bg::cs::spherical_equatorial<bg::degree> >,
double,
geographic_policy
>();
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