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