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

Function test_empty_vertex

atomic-core/src/apply/insertion.rs:419–425  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

417
418 #[test]
419 fn test_empty_vertex() {
420 let change = NodeId::new(42);
421 let node = make_internal_vertex(change, 10, 10);
422
423 assert!(node.is_empty());
424 assert!(!node.is_root());
425 }
426
427 // Edge Flag Tests
428

Callers

nothing calls this directly

Calls 1

make_internal_vertexFunction · 0.70

Tested by

no test coverage detected