refactor(junction): share canonical entry rings

This commit is contained in:
que01 committed 2026-09-09 13:55:52 +08:00
1 parent f4cf42f1c6
commit 2f627df232
3 files changed
+14 -7

No files matched your search

@@ -547,3 +547,15 @@ assert.ok(
touchingGraph.sections.some((section) => section.exclusionStatus === 'overlaps-known-region'),
'a boundary-touching exclusion must remain protected',
);
assert.deepEqual(
teeBoundaryGraph.sections[0].ring,
[
teeBoundaryGraph.sections[0].outer.right,
teeBoundaryGraph.sections[0].inner.right,
teeBoundaryGraph.sections[0].inner.left,
teeBoundaryGraph.sections[0].outer.left,
teeBoundaryGraph.sections[0].outer.right,
],
'BoundaryGraph must expose the canonical entry ring consumed by compilation',
);