17 lines
399 B
Go
17 lines
399 B
Go
package hd_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
|
|
"github.com/cosmos/cosmos-sdk/crypto/hd"
|
|
)
|
|
|
|
func TestDefaults(t *testing.T) {
|
|
require.Equal(t, hd.PubKeyType("multi"), hd.MultiType)
|
|
require.Equal(t, hd.PubKeyType("secp256k1"), hd.Secp256k1Type)
|
|
require.Equal(t, hd.PubKeyType("ed25519"), hd.Ed25519Type)
|
|
require.Equal(t, hd.PubKeyType("sr25519"), hd.Sr25519Type)
|
|
}
|