test(M02): 층 길 시험 — 지운 Combo_Api 대신 일위대가 문서 길(laborAt 층 받음)을 봄(39 마무리)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013rJwJMVL4EE31y77TB11AP
This commit is contained in:
2026-10-04 21:06:29 +09:00
co-authored by Claude Opus 5.5
parent 8087c73060
commit b1d092efeb
+4 -2
View File
@@ -210,8 +210,10 @@ def test_층_길_접두어와_고정_풀림():
for path in ("/structures/numbers", "/structure-combos"):
assert re.search(rf'scoped\(\s*[`"]{re.escape(path)}', api), path
assert "/layers/personal/items/copy" in api
for name in ("Structure", "Combo_Api"):
assert '"system"' not in _text(M02 / f"M02_MasterTemplete_{name}.ts")
assert '"system"' not in _text(M02 / "M02_MasterTemplete_Structure.ts")
# 열 조합 읽기(옛 Combo_Api · 39-4 D3 지움) 자리 = 열마다 일위대가 문서 — 층을 받아 부름
labor = _text(M02 / "M02_MasterTemplete_Labor_Api.ts")
assert "const laborAt = (layer: Layer, column: string, tail: string): string =>" in labor
side = _text(M02 / "M02_MasterTemplete_UI_Side.ts")
assert "const layer = opt.layer;" in side
assert 'layer === "system"' in side # 도면 양식은 시스템 층에만