Updated Boost.Algorithm tests to use non-deprecated test framework

[SVN r82785]
This commit is contained in:
Marshall Clow
2013-02-08 17:21:43 +00:00
parent 4ca6b10441
commit f65d36aca7
44 changed files with 228 additions and 203 deletions

View File

@ -9,7 +9,8 @@
#include <boost/config.hpp>
#include <boost/algorithm/clamp.hpp>
#include <boost/test/included/test_exec_monitor.hpp>
#define BOOST_TEST_MAIN
#include <boost/test/unit_test.hpp>
namespace ba = boost::algorithm;
@ -205,7 +206,7 @@ void test_int_range ()
BOOST_CHECK ( std::equal ( b_e(junk), outputs ));
}
int test_main( int , char* [] )
BOOST_AUTO_TEST_CASE( test_main )
{
test_ints ();
test_floats ();
@ -214,5 +215,4 @@ int test_main( int , char* [] )
test_int_range ();
// test_float_range ();
// test_custom_range ();
return 0;
}