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

Function test_leaf_id_root

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

Source from the content-addressed store, hash-verified

413
414 #[test]
415 fn test_leaf_id_root() {
416 assert!(LeafId::ROOT.is_root());
417 assert!(!LeafId::new(NodeId::new(1), 0).is_root());
418 }
419
420 #[test]
421 fn test_leaf_id_bytes_roundtrip() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected