neoneo-go/pkg/core/state/storage_item_test.go
Evgenii Stratonikov 7d91a3a89e pkg: move internal/ package to the root directory
This way we can use it in scripts and cli.
2020-11-24 16:39:56 +03:00

16 lines
279 B
Go

package state
import (
"testing"
"github.com/nspcc-dev/neo-go/internal/testserdes"
)
func TestEncodeDecodeStorageItem(t *testing.T) {
storageItem := &StorageItem{
Value: []byte{},
IsConst: false,
}
testserdes.EncodeDecodeBinary(t, storageItem, new(StorageItem))
}