forked from boostorg/container_hash
Revert conversion from lightweight test to Boost.Test.
[SVN r47545]
This commit is contained in:
@@ -8,10 +8,10 @@
|
||||
#include <boost/functional/hash.hpp>
|
||||
#undef BOOST_HASH_NO_EXTENSIONS
|
||||
#include <boost/functional/hash.hpp>
|
||||
#include <boost/test/minimal.hpp>
|
||||
#include <boost/detail/lightweight_test.hpp>
|
||||
#include <map>
|
||||
|
||||
int test_main(int, char**)
|
||||
int main()
|
||||
{
|
||||
std::map<int, int> x;
|
||||
|
||||
@@ -19,7 +19,7 @@ int test_main(int, char**)
|
||||
x.insert(std::map<int, int>::value_type(14, -75));
|
||||
|
||||
HASH_NAMESPACE::hash<std::map<int, int> > hasher;
|
||||
BOOST_CHECK(hasher(x) == HASH_NAMESPACE::hash_value(x));
|
||||
BOOST_TEST(hasher(x) == HASH_NAMESPACE::hash_value(x));
|
||||
|
||||
return 0;
|
||||
return boost::report_errors();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user