feat(junction): add structure and standards contract

This commit is contained in:
que01 committed 2026-09-07 14:11:44 +08:00
1 parent 8d6f531377
commit 61cf276745
13 files changed
+843 -1

No files matched your search

+2
View File
@@ -10,6 +10,8 @@ assert.equal(typeof compiler.gaodeReference.convertGeoJson, 'function');
assert.equal(typeof compiler.turnLaneArrows.buildCustomTurnLaneArrows, 'function');
assert.equal(typeof compiler.complexJunction.buildComplexJunctionGeometry, 'function');
assert.equal(typeof compiler.complexJunction.classifyJunctionShape, 'function');
assert.equal(typeof compiler.junctionStructure.buildJunctionStructure, 'function');
assert.equal(typeof compiler.junctionStandards.validateStandardsProfile, 'function');
const shapeHelpers = { distanceMeters: (a, b) => Math.hypot(a[0] - b[0], a[1] - b[1]) };
const arm = (heading, distance = 20) => ({
heading,