forked from boostorg/container_hash
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:
1 parent
b3e82db752
commit
e810954b62
32 files changed
+228
-229
No files matched your search
@@ -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