github.com/MetalBlockchain/metalgo@v1.11.9/vms/secp256k1fx/factory_test.go (about)

     1  // Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
     2  // See the file LICENSE for licensing terms.
     3  
     4  package secp256k1fx
     5  
     6  import (
     7  	"testing"
     8  
     9  	"github.com/stretchr/testify/require"
    10  )
    11  
    12  func TestFactory(t *testing.T) {
    13  	require := require.New(t)
    14  	factory := Factory{}
    15  	require.Equal(&Fx{}, factory.New())
    16  }