Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77307 - trunk/libs/geometry/test_extensions/algorithms/buffer
From: barend.gehrels_at_[hidden]
Date: 2012-03-11 14:16:05


Author: barendgehrels
Date: 2012-03-11 14:16:04 EDT (Sun, 11 Mar 2012)
New Revision: 77307
URL: http://svn.boost.org/trac/boost/changeset/77307

Log:
[geometry] uncommented test which is now fixed
Text files modified:
   trunk/libs/geometry/test_extensions/algorithms/buffer/multi_polygon_buffer.cpp | 8 ++------
   1 files changed, 2 insertions(+), 6 deletions(-)

Modified: trunk/libs/geometry/test_extensions/algorithms/buffer/multi_polygon_buffer.cpp
==============================================================================
--- trunk/libs/geometry/test_extensions/algorithms/buffer/multi_polygon_buffer.cpp (original)
+++ trunk/libs/geometry/test_extensions/algorithms/buffer/multi_polygon_buffer.cpp 2012-03-11 14:16:04 EDT (Sun, 11 Mar 2012)
@@ -66,7 +66,6 @@
 
     typedef bg::model::polygon<P> polygon_type;
     typedef bg::model::multi_polygon<polygon_type> multi_polygon_type;
-// goto wrong;
     test_one<multi_polygon_type, buf::join_round, polygon_type>("multi_simplex_05", simplex, 'r', 23.7030, 0.5);
     test_one<multi_polygon_type, buf::join_miter, polygon_type>("multi_simplex_05", simplex, 'm', 24.5965, 0.5);
     test_one<multi_polygon_type, buf::join_round, polygon_type>("multi_simplex_10", simplex, 'r', 34.2532, 1.0);
@@ -101,11 +100,8 @@
     test_one<multi_polygon_type, buf::join_miter, polygon_type>("rt_e", rt_e, 'm', 15.1198, 0.3);
     test_one<multi_polygon_type, buf::join_round, polygon_type>("rt_f", rt_f, 'r', 4.28937, 0.3);
     test_one<multi_polygon_type, buf::join_miter, polygon_type>("rt_f", rt_f, 'm', 4.60853, 0.3);
-
-// TO BE FIXED:
-// wrong:
-// test_one<multi_polygon_type, buf::join_round, polygon_type>("rt_g", rt_g, 'r', 99, 1.0);
-// test_one<multi_polygon_type, buf::join_miter, polygon_type>("rt_g", rt_g, 'm', 99, 1.0);
+ test_one<multi_polygon_type, buf::join_round, polygon_type>("rt_g", rt_g, 'r', 24.719, 1.0);
+ test_one<multi_polygon_type, buf::join_miter, polygon_type>("rt_g", rt_g, 'm', 30.3137, 1.0);
 }
 
 


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