Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/encodeous/nylon
/ TestGenerateKey
Function
TestGenerateKey
state/crypto_test.go:21–26 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
19
}
20
21
func
TestGenerateKey(t *testing.T) {
22
key := GenerateKey()
23
pub := key.Pubkey()
24
_, err := pub.MarshalText()
25
assert.NoError(t, err)
26
}
Callers
nothing calls this directly
Calls
3
GenerateKey
Function · 0.85
Pubkey
Method · 0.80
MarshalText
Method · 0.45
Tested by
no test coverage detected