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

Function test_down_context_structure

atomic-core/src/apply/position.rs:517–525  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

515
516 #[test]
517 fn test_down_context_structure() {
518 // Down context: vertices that come AFTER new content
519 // We connect FROM new span TO successors
520 let hash = Hash::of(b"child");
521 let down_ctx = make_external_position(Some(hash), 0);
522
523 // The position points to the START of the child content
524 assert_eq!(down_ctx.pos, ChangePosition::new(0));
525 }
526
527 // Error Case Tests (Structure Only)
528

Callers

nothing calls this directly

Calls 1

make_external_positionFunction · 0.85

Tested by

no test coverage detected