|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r75687 - trunk/libs/geometry/test/algorithms
From: barend.gehrels_at_[hidden]
Date: 2011-11-27 06:07:32
Author: barendgehrels
Date: 2011-11-27 06:07:32 EST (Sun, 27 Nov 2011)
New Revision: 75687
URL: http://svn.boost.org/trac/boost/changeset/75687
Log:
Added box-to-box conversion (unit test)
Text files modified:
trunk/libs/geometry/test/algorithms/convert.cpp | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
Modified: trunk/libs/geometry/test/algorithms/convert.cpp
==============================================================================
--- trunk/libs/geometry/test/algorithms/convert.cpp (original)
+++ trunk/libs/geometry/test/algorithms/convert.cpp 2011-11-27 06:07:32 EST (Sun, 27 Nov 2011)
@@ -23,6 +23,13 @@
// Point
test_mixed_identical_result<Point1, Point2>("POINT(1 2)");
+ // Box
+ test_mixed_identical_result
+ <
+ bg::model::box<Point1>,
+ bg::model::box<Point2>
+ >("POLYGON((1 2,1 4,3 4,3 2,1 2))");
+
// Linestring
test_mixed_identical_result
<
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