diff --git a/test/iterators/point_iterator.cpp b/test/iterators/point_iterator.cpp index 13d77fdf8..ec0f6bcf8 100644 --- a/test/iterators/point_iterator.cpp +++ b/test/iterators/point_iterator.cpp @@ -228,6 +228,15 @@ struct test_point_iterator_of_geometry const_begin = begin; const_end = end; + // testing equality/inequality comparison + BOOST_CHECK ( begin == const_begin ); + BOOST_CHECK ( end == const_end ); + if ( begin != end ) + { + BOOST_CHECK ( begin != const_end ); + BOOST_CHECK ( const_begin != end ); + } + // testing dereferencing/assignment if ( begin != end ) {