internal: moved testutil method to internal package

This commit is contained in:
Vsevolod Brekelov 2019-12-04 15:24:49 +03:00
parent 2d42b14a1d
commit c1f39d5c7b
8 changed files with 85 additions and 85 deletions

View file

@ -3,14 +3,14 @@ package state
import (
"testing"
"github.com/CityOfZion/neo-go/pkg/core/testutil"
"github.com/CityOfZion/neo-go/pkg/internal/random"
"github.com/CityOfZion/neo-go/pkg/io"
"github.com/stretchr/testify/assert"
)
func TestEncodeDecodeNotificationEvent(t *testing.T) {
event := &NotificationEvent{
ScriptHash: testutil.RandomUint160(),
ScriptHash: random.Uint160(),
Item: nil,
}
@ -26,7 +26,7 @@ func TestEncodeDecodeNotificationEvent(t *testing.T) {
func TestEncodeDecodeAppExecResult(t *testing.T) {
appExecResult := &AppExecResult{
TxHash: testutil.RandomUint256(),
TxHash: random.Uint256(),
Trigger: 1,
VMState: "Hault",
GasConsumed: 10,