mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-15 01:02:09 +00:00
Made box/segment iterators random access
[SVN r64590]
This commit is contained in:
@@ -52,6 +52,12 @@ void test_geometry(std::string const& wkt, std::string const& expected)
|
||||
out << " " << boost::geometry::get<0>(*it2) << boost::geometry::get<1>(*it2);
|
||||
BOOST_CHECK_EQUAL(out.str(), expected);
|
||||
}
|
||||
|
||||
{
|
||||
// Check random access behaviour
|
||||
int const n = boost::size(range);
|
||||
BOOST_CHECK_EQUAL(n, 2);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user