mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-25 03:56:34 +00:00
9c0bbd0bfd
The only method missing is name, because it is provided in manifest.
14 lines
384 B
Go
14 lines
384 B
Go
package native
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
|
|
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest/standard"
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestNonfungibleNEP11(t *testing.T) {
|
|
n := newNonFungible("NFToken", -100, "SYM", 1)
|
|
require.NoError(t, standard.Check(&n.ContractMD.Manifest, manifest.NEP11StandardName))
|
|
}
|