@@ -288,7 +288,7 @@ BOOST_AUTO_TEST_CASE(integer__uint256_shift_right__null_hash__null_hash)
288288{
289289 BOOST_REQUIRE_EQUAL (uint256_t () >> 0 , uint256_t ());
290290 BOOST_REQUIRE_EQUAL (uint256_t () >> 1 , uint256_t ());
291- BOOST_REQUIRE_EQUAL (uint256_t () >> bc::max_uint32 , uint256_t ());
291+ BOOST_REQUIRE_EQUAL (uint256_t () >> 42 , uint256_t ());
292292}
293293
294294BOOST_AUTO_TEST_CASE (integer__uint256_shift_right__unit_hash_0__unit_hash)
@@ -301,7 +301,7 @@ BOOST_AUTO_TEST_CASE(integer__uint256_shift_right__unit_hash_positive__null_hash
301301{
302302 static const uint256_t value (unit_hash);
303303 BOOST_REQUIRE_EQUAL (value >> 1 , uint256_t ());
304- BOOST_REQUIRE_EQUAL (value >> bc::max_uint32 , uint256_t ());
304+ BOOST_REQUIRE_EQUAL (value >> 42 , uint256_t ());
305305}
306306
307307BOOST_AUTO_TEST_CASE (integer__uint256_shift_right__max_hash_1__most_hash)
@@ -452,7 +452,7 @@ BOOST_AUTO_TEST_CASE(integer__uint256_assign_shift_right__null_hash__null_hash)
452452 uint256_t value3;
453453 value1 >>= 0 ;
454454 value2 >>= 1 ;
455- value3 >>= bc::max_uint32 ;
455+ value3 >>= 42 ;
456456 BOOST_REQUIRE_EQUAL (value1, uint256_t ());
457457 BOOST_REQUIRE_EQUAL (value2, uint256_t ());
458458 BOOST_REQUIRE_EQUAL (value3, uint256_t ());
@@ -470,7 +470,7 @@ BOOST_AUTO_TEST_CASE(integer__uint256_assign_shift_right__unit_hash_positive__nu
470470 uint256_t value1 (unit_hash);
471471 uint256_t value2 (unit_hash);
472472 value1 >>= 1 ;
473- value2 >>= bc::max_uint32 ;
473+ value2 >>= 42 ;
474474 BOOST_REQUIRE_EQUAL (value1, uint256_t ());
475475 BOOST_REQUIRE_EQUAL (value2, uint256_t ());
476476}
@@ -499,7 +499,7 @@ BOOST_AUTO_TEST_CASE(integer__uint256_assign_shift_left__null_hash__null_hash)
499499 uint256_t value3;
500500 value1 <<= 0 ;
501501 value2 <<= 1 ;
502- value3 <<= bc::max_uint32 ;
502+ value3 <<= 42 ;
503503 BOOST_REQUIRE_EQUAL (value1, uint256_t ());
504504 BOOST_REQUIRE_EQUAL (value2, uint256_t ());
505505 BOOST_REQUIRE_EQUAL (value3, uint256_t ());
0 commit comments