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

Function test_identity_generation

atomic-identity/src/lib.rs:194–198  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

192
193 #[test]
194 fn test_identity_generation() {
195 let identity = Identity::generate("test-user");
196 assert_eq!(identity.name, "test-user");
197 assert_eq!(identity.identity_type, IdentityType::User);
198 }
199
200 #[test]
201 fn test_identity_builder() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected