Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70917 - in trunk/libs/geometry/test/algorithms: . detail/sections
From: barend.gehrels_at_[hidden]
Date: 2011-04-02 19:17:12


Author: barendgehrels
Date: 2011-04-02 19:17:11 EDT (Sat, 02 Apr 2011)
New Revision: 70917
URL: http://svn.boost.org/trac/boost/changeset/70917

Log:
Changes required for run without extensions for release
Text files modified:
   trunk/libs/geometry/test/algorithms/detail/sections/sectionalize.cpp | 1 -
   trunk/libs/geometry/test/algorithms/difference.cpp | 32 ++++++--------------------------
   2 files changed, 6 insertions(+), 27 deletions(-)

Modified: trunk/libs/geometry/test/algorithms/detail/sections/sectionalize.cpp
==============================================================================
--- trunk/libs/geometry/test/algorithms/detail/sections/sectionalize.cpp (original)
+++ trunk/libs/geometry/test/algorithms/detail/sections/sectionalize.cpp 2011-04-02 19:17:11 EDT (Sat, 02 Apr 2011)
@@ -27,7 +27,6 @@
 
 #include <test_common/test_point.hpp>
 
-#define TEST_WITH_SVG
 #if defined(TEST_WITH_SVG)
 # include <boost/geometry/extensions/io/svg/svg_mapper.hpp>
 # include <boost/geometry/algorithms/buffer.hpp>

Modified: trunk/libs/geometry/test/algorithms/difference.cpp
==============================================================================
--- trunk/libs/geometry/test/algorithms/difference.cpp (original)
+++ trunk/libs/geometry/test/algorithms/difference.cpp 2011-04-02 19:17:11 EDT (Sat, 02 Apr 2011)
@@ -1,7 +1,7 @@
 // Boost.Geometry (aka GGL, Generic Geometry Library)
 // Unit Test
 
-// Copyright (c) 2010 Barend Gehrels, Amsterdam, the Netherlands.
+// Copyright (c) 2010-2011 Barend Gehrels, Amsterdam, the Netherlands.
 
 // Use, modification and distribution is subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
@@ -23,8 +23,8 @@
 #include <boost/geometry/multi/algorithms/intersection.hpp>
 #include <boost/geometry/multi/algorithms/within.hpp>
 
-#include <boost/geometry/extensions/gis/io/wkb/read_wkb.hpp>
-#include <boost/geometry/extensions/gis/io/wkb/utility.hpp>
+//#include <boost/geometry/extensions/gis/io/wkb/read_wkb.hpp>
+//#include <boost/geometry/extensions/gis/io/wkb/utility.hpp>
 
 #include <algorithms/test_difference.hpp>
 #include <algorithms/test_overlay.hpp>
@@ -272,7 +272,8 @@
     ***/
 }
 
-
+/*******
+// To be moved to another file
 template <typename T>
 void test_difference_parcel_precision()
 {
@@ -340,31 +341,10 @@
     }
 #endif
 }
-
-
-#include <boost/range/algorithm/reverse.hpp>
-
-
-template <typename P>
-void test_copy()
-{
- std::vector<P> first;
- first.push_back(P(1,1));
- first.push_back(P(2,2));
-
- std::vector<P> second;
- boost::copy(first, std::back_inserter(second));
- boost::reverse(second);
-
- std::vector<P> third, fourth;
- boost::copy(second, boost::copy(first, std::back_inserter(third)));
-
-}
+*****/
 
 int test_main(int, char* [])
 {
- //test_copy<bg::model::d2::point_xy<double> >();
-
     //test_difference_parcel_precision<float>();
     //test_difference_parcel_precision<double>();
 


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