gecko/vms/secp256k1fx/factory_test.go

18 lines
327 B
Go

// (c) 2019-2020, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.
package secp256k1fx
import (
"testing"
)
func TestFactory(t *testing.T) {
factory := Factory{}
if fx, err := factory.New(nil); err != nil {
t.Fatal(err)
} else if fx == nil {
t.Fatalf("Factory.New returned nil")
}
}