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 26f4b6cd55
commit 11170a916b
17 changed files with 31 additions and 31 deletions
+3 -3
View File
@@ -17,12 +17,12 @@
# endif
#endif
#define BOOST_AUTO_TEST_MAIN
#define BOOST_TEST_MAIN
#include <boost/test/auto_unit_test.hpp>
#ifdef TEST_EXTENSIONS
BOOST_AUTO_UNIT_TEST(array_int_test)
BOOST_AUTO_TEST_CASE(array_int_test)
{
const int array1[25] = {
26, -43, 32, 65, 45,
@@ -44,7 +44,7 @@ BOOST_AUTO_UNIT_TEST(array_int_test)
BOOST_CHECK(hasher3(array3) == HASH_NAMESPACE::hash_value(array3));
}
BOOST_AUTO_UNIT_TEST(two_dimensional_array_test)
BOOST_AUTO_TEST_CASE(two_dimensional_array_test)
{
int array[3][2] = {{-5, 6}, {7, -3}, {26, 1}};
HASH_NAMESPACE::hash<int[3][2]> hasher;