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

Function test_trunk_id_display

atomic-core/src/crdt/ids.rs:339–343  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

337
338 #[test]
339 fn test_trunk_id_display() {
340 let id = TrunkId::new(NodeId::new(42), 3);
341 assert_eq!(format!("{}", id), "T42:3");
342 assert_eq!(format!("{:?}", id), "TrunkId(42, 3)");
343 }
344
345 #[test]
346 fn test_trunk_id_serde() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected