-
+ 851F66E402605E8572872FC93840D691F783AF2EC35AAF64AF077D45537FF171420BC58B49441CE7B0F133AAF216813023BD20776E4BAA7821649633FEAE65E0
bitcoin/src/test/uint160_tests.cpp
(0 . 0)(1 . 18)
21620 #include <boost/test/unit_test.hpp>
21621
21622 #include "../uint256.h"
21623
21624 BOOST_AUTO_TEST_SUITE(uint160_tests)
21625
21626 BOOST_AUTO_TEST_CASE(uint160_equality)
21627 {
21628 uint160 num1 = 10;
21629 uint160 num2 = 11;
21630 BOOST_CHECK(num1+1 == num2);
21631
21632 uint64 num3 = 10;
21633 BOOST_CHECK(num1 == num3);
21634 BOOST_CHECK(num1+num2 == num3+num2);
21635 }
21636
21637 BOOST_AUTO_TEST_SUITE_END()