-
+ A492774B18A36458911F28049D0D24027D7398A32DA3D9EA5AF401FE2229D00A33BE948EDFBCF2D9B765AE2A83C74E856AFB7F4EE3F8F3D411574506911BAA20
bitcoin/src/test/uint256_tests.cpp
(0 . 0)(1 . 18)
21642 #include <boost/test/unit_test.hpp>
21643
21644 #include "../uint256.h"
21645
21646 BOOST_AUTO_TEST_SUITE(uint256_tests)
21647
21648 BOOST_AUTO_TEST_CASE(uint256_equality)
21649 {
21650 uint256 num1 = 10;
21651 uint256 num2 = 11;
21652 BOOST_CHECK(num1+1 == num2);
21653
21654 uint64 num3 = 10;
21655 BOOST_CHECK(num1 == num3);
21656 BOOST_CHECK(num1+num2 == num3+num2);
21657 }
21658
21659 BOOST_AUTO_TEST_SUITE_END()