MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_key_generation

Function test_key_generation

atomic-identity/src/keypair.rs:251–254  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

249
250 #[test]
251 fn test_key_generation() {
252 let keypair = KeyPair::generate();
253 assert_eq!(keypair.public.as_bytes().len(), 32);
254 }
255
256 #[test]
257 fn test_sign_and_verify() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected