Browse Source

Merge #8673: Trivial: Fix obvious assignment/equality error in test

426e7bc Fix obvious assignment/equality error in test (Jeremy Rubin)
pull/1/head
MarcoFalke 6 years ago
parent
commit
ec139a5621
No known key found for this signature in database
GPG Key ID: 2D7F2372E50FE137
  1. 2
      src/test/arith_uint256_tests.cpp

2
src/test/arith_uint256_tests.cpp

@ -112,7 +112,7 @@ BOOST_AUTO_TEST_CASE( basics ) // constructors, equality, inequality @@ -112,7 +112,7 @@ BOOST_AUTO_TEST_CASE( basics ) // constructors, equality, inequality
BOOST_CHECK( (R1L & arith_uint256("0xffffffffffffffff")) == arith_uint256(R1LLow64));
BOOST_CHECK(ZeroL == arith_uint256(0));
BOOST_CHECK(OneL == arith_uint256(1));
BOOST_CHECK(arith_uint256("0xffffffffffffffff") = arith_uint256(0xffffffffffffffffULL));
BOOST_CHECK(arith_uint256("0xffffffffffffffff") == arith_uint256(0xffffffffffffffffULL));
// Assignment (from base_uint)
arith_uint256 tmpL = ~ZeroL; BOOST_CHECK(tmpL == ~ZeroL);

Loading…
Cancel
Save