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 -5
View File
@@ -6,14 +6,13 @@
#define HASH_NAMESPACE boost
#define BOOST_HASH_NO_EXTENSIONS
#include <boost/functional/hash.hpp>
#include <boost/assert.hpp>
#include <boost/detail/lightweight_test.hpp>
extern int f(std::size_t, int*);
int test_main(int, char**) {
int main() {
HASH_NAMESPACE::hash<int*> ptr_hasher;
int x = 55;
BOOST_ASSERT(!f(ptr_hasher(&x), &x));
return 0;
BOOST_TEST(!f(ptr_hasher(&x), &x));
return boost::report_errors();
}