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

Function test_identity_usage_description

atomic-identity/src/usage.rs:224–233  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

222
223 #[test]
224 fn test_identity_usage_description() {
225 assert_eq!(IdentityUsage::Personal.description(), "Personal");
226 assert_eq!(IdentityUsage::Work.description(), "Work");
227 assert_eq!(IdentityUsage::Community.description(), "Community");
228 assert_eq!(IdentityUsage::Bot.description(), "Bot");
229 assert_eq!(
230 IdentityUsage::Custom("test".to_string()).description(),
231 "Custom: test"
232 );
233 }
234
235 #[test]
236 fn test_identity_usage_short_code() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected