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

Function test_root_vertex

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

Source from the content-addressed store, hash-verified

487
488 #[test]
489 fn test_root_vertex() {
490 let root = GraphNode::<NodeId>::root();
491
492 assert!(root.is_root());
493 assert!(root.is_empty());
494 assert!(root.change.is_root());
495 }
496
497 #[test]
498 fn test_empty_vertex() {

Callers

nothing calls this directly

Calls 1

rootFunction · 0.85

Tested by

no test coverage detected