3 // func TestBuilder(t *testing.T) {
17 // "pushdata and verify",
20 // b.addOp(vm.OP_VERIFY)
25 // "pushdata, verify, second pushdata",
28 // b.addOp(vm.OP_VERIFY)
34 // for _, c := range cases {
35 // t.Run(c.name, func(t *testing.T) {
38 // got, err := b.build()
42 // want, err := hex.DecodeString(c.wantHex)
46 // if !bytes.Equal(got, want) {
47 // t.Errorf("got %x, want %x", got, want)