Revert conversion from lightweight test to Boost.Test.

Merged revisions 47545 via svnmerge from 
https://svn.boost.org/svn/boost/trunk

........
  r47545 | danieljames | 2008-07-18 13:31:18 +0100 (Fri, 18 Jul 2008) | 1 line
  
  Revert conversion from lightweight test to Boost.Test.
........


[SVN r47586]
This commit is contained in:
Daniel James committed 2008-07-19 09:02:10 +00:00
1 parent b3e82db752
commit e810954b62
32 files changed
+228 -229

No files matched your search

+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();
}