package token import ( "bytes" ag_gofuzz "github.com/gagliardetto/gofuzz" ag_require "github.com/stretchr/testify/require" "strconv" "testing" ) func TestEncodeDecode_InitializeMultisig2(t *testing.T) { fu := ag_gofuzz.New().NilChance(0) for i := 0; i < 1; i++ { t.Run("InitializeMultisig2"+strconv.Itoa(i), func(t *testing.T) { { params := new(InitializeMultisig2) fu.Fuzz(params) params.AccountMetaSlice = nil buf := new(bytes.Buffer) err := encodeT(*params, buf) ag_require.NoError(t, err) // got := new(InitializeMultisig2) err = decodeT(got, buf.Bytes()) got.AccountMetaSlice = nil ag_require.NoError(t, err) ag_require.Equal(t, params, got) } }) } }