find_all char* test case added

[SVN r23494]
This commit is contained in:
Pavol Droba
2004-07-13 14:59:43 +00:00
parent ccce29ecf5
commit 905cbf4a38

View File

@ -44,6 +44,16 @@ void iterator_test()
vector<string> tokens;
vector< vector<int> > vtokens;
// find_all tests
find_all(
tokens,
pch1,
"xx" );
BOOST_REQUIRE( tokens.size()==2 );
BOOST_CHECK( tokens[0]==string("xx") );
BOOST_CHECK( tokens[1]==string("xx") );
ifind_all(
tokens,
str2,
@ -53,7 +63,6 @@ void iterator_test()
BOOST_CHECK( tokens[0]==string("Xx") );
BOOST_CHECK( tokens[1]==string("xX") );
// find_all tests
find_all(
tokens,
str1,
@ -63,7 +72,6 @@ void iterator_test()
BOOST_CHECK( tokens[0]==string("xx") );
BOOST_CHECK( tokens[1]==string("xx") );
find_all(
vtokens,
str1,