Add script test to prove that OP_0 evaluates as the empty vector, rather than [0].

This commit is contained in:
Andreas Schildbach
2014-03-11 00:16:22 +01:00
parent a63f8b7b36
commit ffd082a6a3
2 changed files with 6 additions and 2 deletions

View File

@@ -411,5 +411,7 @@
["0x4c 0x40 0x42424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242",
"0x4d 0x4000 0x42424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242 EQUAL",
"Basic PUSHDATA1 signedness check"]
"Basic PUSHDATA1 signedness check"],
["0x00", "SIZE 0 EQUAL", "Basic OP_0 execution"]
]