github.com/Finschia/finschia-sdk@v0.48.1/crypto/hd/algo_test.go (about)

     1  package hd_test
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/stretchr/testify/require"
     7  
     8  	"github.com/Finschia/finschia-sdk/crypto/hd"
     9  )
    10  
    11  func TestDefaults(t *testing.T) {
    12  	require.Equal(t, hd.PubKeyType("multi"), hd.MultiType)
    13  	require.Equal(t, hd.PubKeyType("secp256k1"), hd.Secp256k1Type)
    14  	require.Equal(t, hd.PubKeyType("ed25519"), hd.Ed25519Type)
    15  	require.Equal(t, hd.PubKeyType("sr25519"), hd.Sr25519Type)
    16  }