script: add additional script tests
This commit is contained in:
@@ -257,7 +257,10 @@
|
||||
["1","0xba", "0xba == OP_NOP10 + 1"],
|
||||
|
||||
["2147483648", "1ADD 1", "We cannot do math on 5-byte integers"],
|
||||
["2147483648", "NEGATE 1", "We cannot do math on 5-byte integers"],
|
||||
["-2147483648", "1ADD 1", "Because we use a sign bit, -2147483648 is also 5 bytes"],
|
||||
["2147483647", "1ADD 1SUB 1", "We cannot do math on 5-byte integers, even if the result is 4-bytes"],
|
||||
["2147483648", "1SUB 1", "We cannot do math on 5-byte integers, even if the result is 4-bytes"],
|
||||
|
||||
["1", "1 ENDIF", "ENDIF without IF"],
|
||||
["1", "IF 1", "IF without ENDIF"],
|
||||
|
||||
Reference in New Issue
Block a user