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

Function test_pending_edge_is_parent

atomic-core/src/apply/workspace.rs:801–807  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

799
800 #[test]
801 fn test_pending_edge_is_parent() {
802 let edge = PendingEdge::new(Position::ROOT, Position::ROOT, EdgeFlags::PARENT);
803 assert!(edge.is_parent());
804
805 let edge = PendingEdge::new(Position::ROOT, Position::ROOT, EdgeFlags::BLOCK);
806 assert!(!edge.is_parent());
807 }
808
809 // MissingContext Tests
810

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected