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

Function test_missing_context_down

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

Source from the content-addressed store, hash-verified

820
821 #[test]
822 fn test_missing_context_down() {
823 let pos = Position::new(NodeId::new(1), ChangePosition::new(0));
824 let ctx = MissingContext::successors(pos);
825
826 assert_eq!(ctx.position, pos);
827 assert!(!ctx.is_predecessor);
828 }
829
830 #[test]
831 fn test_missing_context_with_change() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected