-
+ 62D6C2620B9399D55B907E767D8A0B4DBFED44E015127827CA1E1E776EBF9935633B00D124BD1E7EBEAD43239F3C7128593E4027C0A81F91A181D20E4AD77AEC
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()