()
| 320 | |
| 321 | #[test] |
| 322 | fn test_identity_usage_equality() { |
| 323 | assert_eq!(IdentityUsage::Personal, IdentityUsage::Personal); |
| 324 | assert_ne!(IdentityUsage::Personal, IdentityUsage::Work); |
| 325 | |
| 326 | assert_eq!( |
| 327 | IdentityUsage::Custom("a".to_string()), |
| 328 | IdentityUsage::Custom("a".to_string()) |
| 329 | ); |
| 330 | assert_ne!( |
| 331 | IdentityUsage::Custom("a".to_string()), |
| 332 | IdentityUsage::Custom("b".to_string()) |
| 333 | ); |
| 334 | } |
| 335 | |
| 336 | #[test] |
| 337 | fn test_identity_usage_hash() { |
nothing calls this directly
no outgoing calls
no test coverage detected