| 142 | } |
| 143 | |
| 144 | static void RunCreate(const int64_t& num) |
| 145 | { |
| 146 | CheckCreateInt(num); |
| 147 | CScriptNum scriptnum(num); |
| 148 | if (scriptnum.getvch().size() <= CScriptNum::nDefaultMaxNumSize) |
| 149 | CheckCreateVch(num); |
| 150 | else |
| 151 | { |
| 152 | BOOST_CHECK_THROW (CheckCreateVch(num), scriptnum_error); |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | static void RunOperators(const int64_t& num1, const int64_t& num2) |
| 157 | { |
no test coverage detected