test(junction): validate offset unequal core closure

This commit is contained in:
que01 committed 2026-09-09 12:08:00 +08:00
1 parent a22319a149
commit 88fcee94a0
1 file changed
+8
@@ -359,3 +359,11 @@ const excludedSection = graphWithApproachExclusion.sections.find(
);
assert.equal(excludedSection.exclusionStatus, 'overlaps-known-region');
assert.equal(excludedSection.exclusionRegionId, 'island:approach');
const offsetUnequalGraph = buildJunctionBoundaryGraph(
offsetUnequal.topology,
point(0, 0),
{ outerRadiusFor: () => 24, innerRadiusFor: () => 8 },
offsetUnequal.helpers,
);
assertCoreGeometry(offsetUnequal.topology, offsetUnequalGraph, point(0, 0));