forked from boostorg/functional
Quick & dirty update of hash tests for new version of Boost.Test
[SVN r32056]
This commit is contained in:
@@ -49,7 +49,7 @@ namespace boost
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_AUTO_TEST_MAIN
|
||||
#define BOOST_TEST_MAIN
|
||||
#include <boost/test/auto_unit_test.hpp>
|
||||
|
||||
#ifdef TEST_EXTENSIONS
|
||||
@@ -58,7 +58,7 @@ namespace boost
|
||||
#include <string>
|
||||
#include <cctype>
|
||||
|
||||
BOOST_AUTO_UNIT_TEST(custom_tests)
|
||||
BOOST_AUTO_TEST_CASE(custom_tests)
|
||||
{
|
||||
HASH_NAMESPACE::hash<test::custom> custom_hasher;
|
||||
BOOST_CHECK(custom_hasher(10) == 100u);
|
||||
|
||||
Reference in New Issue
Block a user