(t *testing.T)
| 419 | } |
| 420 | |
| 421 | func TestPushData(t *testing.T) { |
| 422 | checkMultiOpCode(t, []byte{byte(PUSHDATA1), byte(1), byte(2)}, nil, []Value{2}) |
| 423 | checkMultiOpCode(t, []byte{byte(PUSHDATA2), byte(0x01), byte(0x00), byte(2)}, nil, []Value{2}) |
| 424 | checkMultiOpCode(t, []byte{byte(PUSHDATA4), byte(0x01), byte(0x00), byte(0x00), byte(0x00), byte(2)}, nil, []Value{2}) |
| 425 | } |
| 426 | |
| 427 | func TestPushBytes(t *testing.T) { |
| 428 | checkMultiOpCode(t, []byte{byte(PUSHBYTES1), byte(1)}, nil, []Value{1}) |
nothing calls this directly
no test coverage detected