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