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