diff --git a/resources/tester/helper_346_3_route_save.cjs b/resources/tester/helper_346_3_route_save.cjs index 173ab21be..b575f2e8d 100644 --- a/resources/tester/helper_346_3_route_save.cjs +++ b/resources/tester/helper_346_3_route_save.cjs @@ -120,7 +120,7 @@ const apply = loadTs(path.join(ROOT, "B05_Profile", "B05_Profile_UI_RouteEdit_Ap }), changed: () => changed, terrain: () => "sheet", - stationSnap: () => true, + snap: () => ({ stationSnap: true, stationSnapStep: 20 }), // 390-5 — 켬끔 · 간격 한 벌 initial: { current: () => ({ mode: "follow" }), keep: () => (kept += 1) }, onApplied: () => (rebuilt += 1), }); diff --git a/resources/tester/test_346_3_route_save_screen.py b/resources/tester/test_346_3_route_save_screen.py index 53ea15f9d..a12e4f001 100644 --- a/resources/tester/test_346_3_route_save_screen.py +++ b/resources/tester/test_346_3_route_save_screen.py @@ -49,6 +49,7 @@ def test_초안은_계약_RouteDraft_꼴(out): "curveLock", "curveArc", "stationSnap", + "stationSnapStep", "terrain", } n = len(draft["nodes"]) @@ -57,6 +58,7 @@ def test_초안은_계약_RouteDraft_꼴(out): ) assert draft["curveOn"] == [True, False, True] and draft["curveRadius"] == [None, 25, None] assert draft["stationSnap"] is True and draft["terrain"] == "sheet" + assert draft["stationSnapStep"] == 20 # 390-5 간격도 함께 실림 assert out["body"]["initial"] == {"mode": "follow"} assert "balanced_profile" not in out["body"] # 손으로 고친 노선 = 계획고 옮김만(349-0v) assert "as_initial" not in out["body"] # 손으로 고친 노선 = 초기값 그대로