mirror of https://github.com/poanetwork/gecko.git
18 lines
324 B
Go
18 lines
324 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(); err != nil {
|
|
t.Fatal(err)
|
|
} else if fx == nil {
|
|
t.Fatalf("Factory.New returned nil")
|
|
}
|
|
}
|