github.com/keybase/client/go@v0.0.0-20240309051027-028f7c731f8b/stellar/bundle/bundle_test.go (about)

     1  package bundle
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/stretchr/testify/require"
     7  )
     8  
     9  // TestInitialBundle makes sure we can make a brand-new account bundle
    10  // with a new random secret.
    11  func TestInitialBundle(t *testing.T) {
    12  	b, err := NewInitial("hello")
    13  	require.NoError(t, err)
    14  	require.NotNil(t, b)
    15  	require.Len(t, b.Accounts, 1)
    16  	require.Len(t, b.AccountBundles, 1)
    17  }