|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r82539 - sandbox-branches/geometry/index/test/rtree
From: adam.wulkiewicz_at_[hidden]
Date: 2013-01-18 16:23:26
Author: awulkiew
Date: 2013-01-18 16:23:25 EST (Fri, 18 Jan 2013)
New Revision: 82539
URL: http://svn.boost.org/trac/boost/changeset/82539
Log:
added test for rtree envelope, area, perimeter, centroid
Text files modified:
sandbox-branches/geometry/index/test/rtree/test_rtree.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: sandbox-branches/geometry/index/test/rtree/test_rtree.hpp
==============================================================================
--- sandbox-branches/geometry/index/test/rtree/test_rtree.hpp (original)
+++ sandbox-branches/geometry/index/test/rtree/test_rtree.hpp 2013-01-18 16:23:25 EST (Fri, 18 Jan 2013)
@@ -1295,10 +1295,10 @@
BOOST_CHECK(bg::equals(t.box(), b));
- //BOOST_CHECK(bg::equals(bg::return_envelope<B>(t), b));
- //BOOST_CHECK(bg::area(t) == bg::area(b));
- //BOOST_CHECK(bg::perimeter(t) == bg::perimeter(b));
- //BOOST_CHECK(bg::equals(bg::return_centroid<P>(t), bg::return_centroid<P>(b)));
+ BOOST_CHECK(bg::equals(bg::return_envelope<B>(t), b));
+ BOOST_CHECK(bg::area(t) == bg::area(b));
+ BOOST_CHECK(bg::perimeter(t) == bg::perimeter(b));
+ BOOST_CHECK(bg::equals(bg::return_centroid<P>(t), bg::return_centroid<P>(b)));
size_t s = input.size();
while ( s/2 < input.size() && !input.empty() )
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