Skip to content

Commit bb4ee6d

Browse files
committed
Comments, copyright, remove old debugging.
1 parent 94f18ce commit bb4ee6d

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

test/search_test5.cpp

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
11
/*
22
Copyright (c) Marshall Clow 2010-2012.
3-
3+
Copyright (c) Jeremy W. Murphy 2016.
4+
45
Distributed under the Boost Software License, Version 1.0. (See accompanying
56
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
67
78
For more information, see http://www.boost.org
89
*/
910

11+
/**
12+
* Search test 5 benchmarks how long it takes each algorithm to
13+
* 1) initialize, and
14+
* 2) find all occurences of a pattern in the corpus.
15+
*
16+
* The corpus (and thus patterns) are DNA sequences.
17+
*/
1018
#include <boost/algorithm/searching/boyer_moore.hpp>
1119
#include <boost/algorithm/searching/boyer_moore_horspool.hpp>
1220
#include <boost/algorithm/searching/knuth_morris_pratt.hpp>
@@ -167,8 +175,5 @@ BOOST_AUTO_TEST_CASE( test_main )
167175
std::cout << "--- " << m << " ---" << std::endl;
168176
vec pat = ReadFromFile(dirent->path().c_str());
169177
check_one ( c1, pat, -1 );
170-
}
171-
172-
using boost::algorithm::musser_nishanov;
173-
musser_nishanov<vec::const_iterator>(c1.begin(), c1.end());
178+
}
174179
}

0 commit comments

Comments
 (0)