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

Function test_root_source_vertex

atomic-core/src/apply/edge.rs:756–765  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

754
755 #[test]
756 fn test_root_source_vertex() {
757 let root_pos = Position {
758 change: NodeId::ROOT,
759 pos: ChangePosition::new(0),
760 };
761
762 // We can't call find_source_vertex without a transaction,
763 // but we can verify ROOT handling logic
764 assert!(root_pos.change.is_root());
765 }
766
767 #[test]
768 fn test_root_target_vertex() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected