added test for operator()

[SVN r40374]
This commit is contained in:
Thorsten Jørgen Ottosen
2007-10-23 19:34:06 +00:00
parent cf9ad808a6
commit d759c23552
2 changed files with 2 additions and 0 deletions

View File

@ -95,6 +95,7 @@ void check_iterator_range()
BOOST_CHECK_EQUAL( cr.front(), 'h' );
BOOST_CHECK_EQUAL( cr.back(), 'd' );
BOOST_CHECK_EQUAL( cr[1], 'e' );
BOOST_CHECK_EQUAL( cr(1), 'e' );
rrr = make_iterator_range( str, 1, -1 );
BOOST_CHECK( rrr == as_literal("ello worl") );