test(552·B06): 시험 둘 고침 — 부품 모음 견본 글 「더하기」 → 「추가」 · 다단 성토부선 시험이 logic 으로 옮긴 B06 관 모양 파일을 읽음
- ui_template_ui_kit_parts.ts 아이콘 단추 견본 title 「더하기」가 보이는 글 금지어(PLAN 30-1)에 걸림 → 「추가」
- test_user_values_survive.py 다단 성토부선 시험 = 옛 B06_Section_UI_Cross_Culvert_{Geom,Tiers}.ts 경로 · e4befd158(518-2)에서 B06_Section/logic/B06_Section_Cross_Culvert_{Geom,Tiers}.ts 로 옮겨 감 · 판정 글은 그대로 통과
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -236,9 +236,9 @@ def test_저장된_표준단면이_브라우저까지_간다():
|
||||
# 값으로 재는 확인은 화면 실측에 있음(보조 창 b269ea34 81.77m — 단 0 → 1 에서 성토
|
||||
# 10.9027 → 10.6743㎡). 계획서에 그 수치가 남아 있다.
|
||||
def test_다단_성토부선이_면적_트림에_들어간다():
|
||||
# 다단 · 묻힌 구간 거르기는 `_Culvert_Tiers` 로 나뉘어 있어 두 파일을 함께 읽음.
|
||||
# 다단 · 묻힌 구간 거르기는 `logic/_Cross_Culvert_Tiers` 로 나뉘어 있어 두 파일을 함께 읽음.
|
||||
source = "".join(
|
||||
(PROJECT_ROOT / "B06_Section" / f"B06_Section_UI_Cross_Culvert_{name}.ts").read_text(
|
||||
(PROJECT_ROOT / "B06_Section" / "logic" / f"B06_Section_Cross_Culvert_{name}.ts").read_text(
|
||||
encoding="utf-8"
|
||||
)
|
||||
for name in ("Geom", "Tiers")
|
||||
|
||||
@@ -220,7 +220,7 @@ export const KIT_PARTS: KitPart[] = [
|
||||
demo: (s) => (s === "error" ? null : row(...([["저장", "filled"], ["취소", "ghost"], ["보기", "pill"], ["삭제", "danger"], ["초기화", "danger-ghost"], ["사용법", "link"]] as const).map(([label, variant]) => markState(createButton({ label, variant, size: 28, onClick: noop }), s)))),
|
||||
sizes: (z) => createButton({ label: String(z), size: z, iconStart: "plus", onClick: noop }) },
|
||||
{ key: "icon-button", name: "아이콘 단추", group: "basic", kinds: "고스트 · 선 · 채움 · 켜짐(aria-pressed) · 글자 기호 · 여덟 단 · title 필수", file: "ui_template_button.ts",
|
||||
demo: (s) => (s === "error" ? null : row(markState(createIconButton({ icon: "settings", title: "설정" }), s), markState(createIconButton({ icon: "refresh", title: "새로 고침", variant: "outline" }), s), markState(createIconButton({ icon: "plus", title: "더하기", variant: "filled" }), s), markState(createIconButton({ icon: "eye", title: "보기", pressed: true }), s), markState(createIconButton({ glyph: "▲", title: "위로", variant: "outline" }), s))),
|
||||
demo: (s) => (s === "error" ? null : row(markState(createIconButton({ icon: "settings", title: "설정" }), s), markState(createIconButton({ icon: "refresh", title: "새로 고침", variant: "outline" }), s), markState(createIconButton({ icon: "plus", title: "추가", variant: "filled" }), s), markState(createIconButton({ icon: "eye", title: "보기", pressed: true }), s), markState(createIconButton({ glyph: "▲", title: "위로", variant: "outline" }), s))),
|
||||
sizes: (z) => createIconButton({ icon: "settings", title: `설정 ${z}`, size: z, variant: "outline" }) },
|
||||
{ key: "input", name: "입력", group: "basic", kinds: "글 · 수 · 단위 붙음 · 찾기 · 날짜 · 여러 줄 · 여덟 단", file: "ui_template_input.ts",
|
||||
demo: (s) => fieldDemo(s, () => { const f = createInputField({ placeholder: "폭", type: "number", unit: "m", size: 32 }); return { root: f.root, node: f.input, setError: f.setError }; }),
|
||||
|
||||
Reference in New Issue
Block a user