Merged boost::algorithm::gather and updated tests for Utility, Algorithm and Utility libraries

[SVN r83154]
This commit is contained in:
Marshall Clow
2013-02-25 18:43:26 +00:00
parent 6e098b27aa
commit 8132864884
42 changed files with 221 additions and 194 deletions

View File

@ -11,7 +11,8 @@
#include <boost/algorithm/searching/boyer_moore_horspool.hpp>
#include <boost/algorithm/searching/knuth_morris_pratt.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
#define BOOST_TEST_MAIN
#include <boost/test/unit_test.hpp>
#include <iostream>
#include <string>
@ -218,7 +219,7 @@ namespace {
}
int test_main( int , char* [] )
BOOST_AUTO_TEST_CASE( test_main )
{
std::string haystack1 ( "NOW AN FOWE\220ER ANNMAN THE ANPANMANEND" );
std::string needle1 ( "ANPANMAN" );
@ -268,5 +269,4 @@ int test_main( int , char* [] )
const std::string mikhail_corpus = std::string (8, 'a') + mikhail_pattern;
check_one ( mikhail_corpus, mikhail_pattern, 8 );
return 0;
}