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

Function test_trunk_id_root

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

Source from the content-addressed store, hash-verified

313
314 #[test]
315 fn test_trunk_id_root() {
316 assert!(TrunkId::ROOT.is_root());
317 assert!(!TrunkId::new(NodeId::new(1), 0).is_root());
318 }
319
320 #[test]
321 fn test_trunk_id_bytes_roundtrip() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected