-
+ C669BDFF752536F49C95ADFF8EF6DCB6102BA297C4C2D0EFB01AA454B9C212FFE0DDC013794AEC26FD60E1F01EC6DA3D4836525A3C57A7C71F3A6E981BD7BAC0
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()