mirror of
https://github.com/boostorg/algorithm.git
synced 2025-07-29 03:57:17 +02:00
Updated Boost.Algorithm tests to use non-deprecated test framework
[SVN r82785]
This commit is contained in:
@ -12,7 +12,8 @@
|
||||
#include <boost/algorithm/string/formatter.hpp>
|
||||
|
||||
// Include unit test framework
|
||||
#include <boost/test/included/test_exec_monitor.hpp>
|
||||
#define BOOST_TEST_MAIN
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
#include <boost/test/test_tools.hpp>
|
||||
|
||||
@ -154,10 +155,8 @@ void find_format_all_test()
|
||||
BOOST_CHECK_EQUAL(output, source);
|
||||
}
|
||||
|
||||
int test_main( int, char*[] )
|
||||
BOOST_AUTO_TEST_CASE( test_main )
|
||||
{
|
||||
find_format_test();
|
||||
find_format_all_test();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user