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

Function test_branch_id_display

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

Source from the content-addressed store, hash-verified

387
388 #[test]
389 fn test_branch_id_display() {
390 let id = BranchId::new(NodeId::new(42), 3);
391 assert_eq!(format!("{}", id), "B42:3");
392 assert_eq!(format!("{:?}", id), "BranchId(42, 3)");
393 }
394
395 #[test]
396 fn test_branch_id_serde() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected