forked from boostorg/container_hash
Quick & dirty update of hash tests for new version of Boost.Test
[SVN r32056]
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user