Revert conversion from lightweight test to Boost.Test.

[SVN r47545]
This commit is contained in:
Daniel James
2008-07-18 12:31:18 +00:00
parent 62226713a2
commit 4bb4957dc4
32 changed files with 228 additions and 229 deletions
+4 -4
View File
@@ -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();
}