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

Function test_identity_usage_custom_constructor

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

Source from the content-addressed store, hash-verified

286
287 #[test]
288 fn test_identity_usage_custom_constructor() {
289 let custom = IdentityUsage::custom("freelance");
290 assert!(custom.is_custom());
291 assert_eq!(custom.custom_name(), Some("freelance"));
292 }
293
294 #[test]
295 fn test_identity_usage_standard_types() {

Callers

nothing calls this directly

Calls 1

customFunction · 0.85

Tested by

no test coverage detected