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