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

Function test_empty_vertex

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

Source from the content-addressed store, hash-verified

496
497 #[test]
498 fn test_empty_vertex() {
499 let change = NodeId::new(42);
500 let node = make_internal_vertex(change, 10, 10);
501
502 assert!(node.is_empty());
503 assert!(!node.is_root());
504 }
505
506 // Edge Flag Tests
507

Callers

nothing calls this directly

Calls 1

make_internal_vertexFunction · 0.70

Tested by

no test coverage detected