Quick & dirty update of hash tests for new version of Boost.Test

[SVN r32056]
This commit is contained in:
Daniel James
2005-12-15 00:27:53 +00:00
parent dd76eb37ed
commit 985edc9e9c
17 changed files with 31 additions and 31 deletions
+4 -4
View File
@@ -11,7 +11,7 @@
# include <boost/functional/hash/hash.hpp>
#endif
#define BOOST_AUTO_TEST_MAIN
#define BOOST_TEST_MAIN
#include <boost/test/auto_unit_test.hpp>
#include <cmath>
@@ -193,7 +193,7 @@ void float_tests(char const* name, T* = 0)
#endif
}
BOOST_AUTO_UNIT_TEST(hash_float_tests)
BOOST_AUTO_TEST_CASE(hash_float_tests)
{
std::cout<<"Compiler: "<<BOOST_COMPILER<<"\n";
std::cout<<"Platform: "<<BOOST_PLATFORM<<"\n";
@@ -202,12 +202,12 @@ BOOST_AUTO_UNIT_TEST(hash_float_tests)
float_tests("float", (float*) 0);
}
BOOST_AUTO_UNIT_TEST(hash_double_tests)
BOOST_AUTO_TEST_CASE(hash_double_tests)
{
float_tests("double", (double*) 0);
}
BOOST_AUTO_UNIT_TEST(hash_long_double_tests)
BOOST_AUTO_TEST_CASE(hash_long_double_tests)
{
float_tests("long double", (long double*) 0);
}