From fc35579f28ad215c56dbfcff825d288d9365e87b Mon Sep 17 00:00:00 2001 From: umsangdon Date: Sat, 17 Oct 2026 21:37:08 +0900 Subject: [PATCH] =?UTF-8?q?fix(B05=20=ED=8F=89=EB=A9=B4=20=EA=B3=A1?= =?UTF-8?q?=EC=84=A0=20=EC=B0=BD):=20=EC=82=BC=EA=B0=81=20=EC=9E=90?= =?UTF-8?q?=EB=A6=AC=20=EA=B8=80=20=ED=95=9C=20=EC=A4=84=EB=A1=9C=20?= =?UTF-8?q?=E2=80=94=20=E3=80=8C=EB=82=B4=EA=B0=81=20N=C2=B0=20=C2=B7=20?= =?UTF-8?q?=EA=B3=A1=EC=84=A0=20=EC=97=86=EC=9D=8C=E3=80=8D=20(403-1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Se7ytqbohmBQnfYpwYFnYf --- B05_Profile/B05_Profile_UI_RouteEdit_Label.ts | 3 ++- resources/tester/test_403_triangle_angle.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/B05_Profile/B05_Profile_UI_RouteEdit_Label.ts b/B05_Profile/B05_Profile_UI_RouteEdit_Label.ts index f292f93cd..378add39f 100644 --- a/B05_Profile/B05_Profile_UI_RouteEdit_Label.ts +++ b/B05_Profile/B05_Profile_UI_RouteEdit_Label.ts @@ -58,7 +58,8 @@ export function centerDirectionOf( * 칸이 막음. 155° 이상은 L 하한을 안 거는 까닭이 보이게. 곡선 없는 교각점(삼각)도 내각(403-1). */ export function curveInfoText(curveOn: boolean, inner: number | null, optional: boolean): string { const angle = inner ? `내각 ${Math.round(inner)}°` : ""; - if (!curveOn) return [angle, "곡선 없음 — 직선이 그대로 꺾입니다"].filter(Boolean).join(" · "); + // 한 줄에 들게 — 내각이 있으면 풀이 글은 뺌. + if (!curveOn) return angle ? `${angle} · 곡선 없음` : "곡선 없음 — 직선이 그대로 꺾입니다"; return angle && optional ? `${angle} · ${CURVE_OPTIONAL_INNER_ANGLE_DEG}° 이상 — 곡선 생략 가능` : angle; diff --git a/resources/tester/test_403_triangle_angle.py b/resources/tester/test_403_triangle_angle.py index 21bcd1003..3943450cc 100644 --- a/resources/tester/test_403_triangle_angle.py +++ b/resources/tester/test_403_triangle_angle.py @@ -32,8 +32,8 @@ def test_곡선_있는_자리_그대로(texts): def test_삼각_자리도_내각(texts): - assert texts["triangle"] == "내각 133° · 곡선 없음 — 직선이 그대로 꺾입니다" - assert texts["triangleOptional"].startswith("내각 168° · ") + assert texts["triangle"] == "내각 133° · 곡선 없음" + assert texts["triangleOptional"] == "내각 168° · 곡선 없음" def test_내각_모르면_곡선_없음만(texts):