mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
Fix obvious assignment/equality error in test
This commit is contained in:
parent
8ea44405e7
commit
426e7bce0e
@ -112,7 +112,7 @@ BOOST_AUTO_TEST_CASE( basics ) // constructors, equality, inequality
|
|||||||
BOOST_CHECK( (R1L & arith_uint256("0xffffffffffffffff")) == arith_uint256(R1LLow64));
|
BOOST_CHECK( (R1L & arith_uint256("0xffffffffffffffff")) == arith_uint256(R1LLow64));
|
||||||
BOOST_CHECK(ZeroL == arith_uint256(0));
|
BOOST_CHECK(ZeroL == arith_uint256(0));
|
||||||
BOOST_CHECK(OneL == arith_uint256(1));
|
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)
|
// Assignment (from base_uint)
|
||||||
arith_uint256 tmpL = ~ZeroL; BOOST_CHECK(tmpL == ~ZeroL);
|
arith_uint256 tmpL = ~ZeroL; BOOST_CHECK(tmpL == ~ZeroL);
|
||||||
|
Loading…
Reference in New Issue
Block a user