Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018jonfdxn1Xit9bdkNJpE4G
20 lines
826 B
Python
20 lines
826 B
Python
"""PLAN 195-1 — B06 보라 선 고름 정보 글: 「사면 길이」 → 「길이」 · 차례 = 길이 → 경사비율 → 수평 → 높이.
|
|
|
|
짝: `B06_Section/B06_Section_UI_Cross_Design_Pick.ts` `pieceLabel`. 실제 TS 를 `helper_137_design_pick.cjs` 가 Node 로 돌린다.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
import re
|
|
|
|
from test_137_design_pick import out # noqa: F401 — 같은 Node 도우미 결과를 씀
|
|
|
|
|
|
def test_글_차례_넷_길이_경사비율_수평_높이(out) -> None: # noqa: F811
|
|
for key in ("fill", "road"):
|
|
label = out["label"][key]
|
|
assert "사면" not in label
|
|
names = re.findall(r"(길이|경사비율|수평|높이)", label)
|
|
assert names == ["길이", "경사비율", "수평", "높이"], label
|
|
assert out["label"]["fill"].startswith("길이 ")
|