| 72 | } |
| 73 | |
| 74 | static void CheckNegate(const int64_t& num) |
| 75 | { |
| 76 | const CScriptNum10 bignum(num); |
| 77 | const CScriptNum scriptnum(num); |
| 78 | |
| 79 | // -INT64_MIN is undefined |
| 80 | if (num != std::numeric_limits<int64_t>::min()) |
| 81 | BOOST_CHECK(verify(-bignum, -scriptnum)); |
| 82 | } |
| 83 | |
| 84 | static void CheckSubtract(const int64_t& num1, const int64_t& num2) |
| 85 | { |
no test coverage detected