|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r69518 - trunk/libs/geometry/test/extensions/algorithms
From: barend.gehrels_at_[hidden]
Date: 2011-03-03 11:15:00
Author: barendgehrels
Date: 2011-03-03 11:14:59 EST (Thu, 03 Mar 2011)
New Revision: 69518
URL: http://svn.boost.org/trac/boost/changeset/69518
Log:
Updated dissolve/unit test (tie-like polygon: now both barts are included for dissolve)
Text files modified:
trunk/libs/geometry/test/extensions/algorithms/dissolve.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
Modified: trunk/libs/geometry/test/extensions/algorithms/dissolve.cpp
==============================================================================
--- trunk/libs/geometry/test/extensions/algorithms/dissolve.cpp (original)
+++ trunk/libs/geometry/test/extensions/algorithms/dissolve.cpp 2011-03-03 11:14:59 EST (Thu, 03 Mar 2011)
@@ -91,7 +91,6 @@
{
bg::unique(dissolved);
-
length_or_area +=
is_line ? bg::length(dissolved) : bg::area(dissolved);
@@ -214,7 +213,7 @@
// Self intersecting in last segment
test_one<polygon, polygon>("3",
"POLYGON((0 2,2 4,2 0,4 2,0 2))",
- 0, 4, 2.0);
+ 0, 8, 4.0);
// Self tangent
test_one<polygon, polygon>("4",
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