()
| 305 | |
| 306 | #[test] |
| 307 | fn test_lookup() { |
| 308 | let combined = DynAtomRegistry::<TestAtomSet>::new(); |
| 309 | |
| 310 | let custom_bits = combined.str_to_bits("my-custom-value"); |
| 311 | |
| 312 | assert_eq!(combined.lookup(custom_bits), Some("my-custom-value")); |
| 313 | } |
| 314 | |
| 315 | #[test] |
| 316 | fn test_different_dynamic_atoms_get_different_bits() { |
nothing calls this directly
no test coverage detected