mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-13 00:22:10 +00:00
Made box/segment iterators random access
[SVN r64590]
This commit is contained in:
@@ -46,6 +46,12 @@ void test_geometry(std::string const& wkt, std::string const& expected)
|
||||
it--;
|
||||
// Not verified further, same as segment
|
||||
}
|
||||
|
||||
{
|
||||
// Check random access behaviour
|
||||
int const n = boost::size(range);
|
||||
BOOST_CHECK_EQUAL(n, 5);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user