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

Function test_branch_id_root

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

Source from the content-addressed store, hash-verified

363
364 #[test]
365 fn test_branch_id_root() {
366 assert!(BranchId::ROOT.is_root());
367 assert!(!BranchId::new(NodeId::new(1), 0).is_root());
368 }
369
370 #[test]
371 fn test_branch_id_bytes_roundtrip() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected