From a1113c23e681337e5bcdde9c481348a54a228edc Mon Sep 17 00:00:00 2001 From: umsangdon Date: Thu, 22 Oct 2026 12:47:46 +0900 Subject: [PATCH] =?UTF-8?q?test(510-1=20=ED=8C=A8=EB=84=90=20addPipe=20?= =?UTF-8?q?=ED=95=A8=EC=88=98=EB=A1=9C=20=EC=98=AE=EA=B9=80):=20126=20?= =?UTF-8?q?=C2=B7=20291-1=20=EC=86=8C=EC=8A=A4=20=EA=B8=80=20=EC=8B=9C?= =?UTF-8?q?=ED=97=98=EC=9D=B4=20=EC=B0=BE=EB=8D=98=20=EC=9E=90=EB=A6=AC=20?= =?UTF-8?q?=3D=20=ED=8C=A8=EB=84=90=20addPipe=20=ED=95=A8=EC=88=98(?= =?UTF-8?q?=EC=9E=90=EB=8F=99=20=EC=A0=9C=EC=95=88=20[=EB=84=A3=EA=B8=B0]?= =?UTF-8?q?=EB=8F=84=20=EA=B0=99=EC=9D=80=20=EA=B8=B8)=20=C2=B7=20?= =?UTF-8?q?=EC=84=B8=EC=9B=94=EA=B5=90=20=EC=9B=94=EB=A5=98=20=EB=86=92?= =?UTF-8?q?=EC=9D=B4=20=EA=B8=B0=EB=8B=A4=EB=A6=BC=20=C2=B7=20=EC=98=AE?= =?UTF-8?q?=EA=B9=80=20=EA=B2=80=EC=82=AC=20=EA=B7=B8=EB=8C=80=EB=A1=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- resources/tester/test_126_ford_right_click.py | 4 +++- resources/tester/test_291_1_add_only_on_add.py | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/resources/tester/test_126_ford_right_click.py b/resources/tester/test_126_ford_right_click.py index 2a19f85ab..f4dae5398 100644 --- a/resources/tester/test_126_ford_right_click.py +++ b/resources/tester/test_126_ford_right_click.py @@ -102,7 +102,9 @@ def test_배수유역_패널_배선(): apply.index("callbacks.onPipesChanged?.("), ] assert order == sorted(order) - add = src[src.index(" addPipe(chainageM, attributes) {") : src.index(" removePipe(")] + # 510 — 패널 addPipe 를 함수로(자동 제안 [넣기]도 같은 길) · 옮김은 updatePipeFacility 그대로 + add = src[src.index(" function addPipe(chainageM: number, attributes?: FacilityAttributes): void {") : src.index(" /** 노선 전체가")] + add += src[src.index(" updatePipeFacility(") : src.index(" removePipe(")] assert "waitsFordHeight(attributes?.facility, attributes?.options)" in add assert add.index("fordWaits().add(chainageM)") < add.index( "pipeEditor.addAtChainage(chainageM)" diff --git a/resources/tester/test_291_1_add_only_on_add.py b/resources/tester/test_291_1_add_only_on_add.py index 7510271b5..e7c34be34 100644 --- a/resources/tester/test_291_1_add_only_on_add.py +++ b/resources/tester/test_291_1_add_only_on_add.py @@ -60,7 +60,8 @@ def test_고르던_항목만_실시간_반영(): def test_새_세월교_물넘이_월류_높이는_추가_뒤_채움(): drainage = _read("B05_Profile_UI_Drainage_Panel.ts") - body = _body(drainage, " addPipe(chainageM, attributes) {", " updatePipeFacility(") + # 510 — 패널 addPipe 를 함수로(자동 제안 [넣기]도 같은 길) + body = _body(drainage, " function addPipe(chainageM: number, attributes?: FacilityAttributes): void {", " /** 노선 전체가") assert "fordWaits().add(chainageM)" in body