Files
Aislo/resources/tester/test_b09_work_items_ax.py
T
eomsangdonandClaude Opus 5 9a758c4d27 feat(axis): 모르터 줄 공종 코드 AX-WK-c0842a0d 모르타르 배합 1:3 — 찰쌓기 일위대가 표의 막힌 줄이 열림
산림 품셈엔 배합 절이 없어 건설 품셈 [건축] 9-1-1 을 옮김 — 보통인부 0.66인/㎥(모래체가름 포함).
시멘트 510kg·모래 1.10㎥ 는 자재 단가 층이 없어 안 붙은 줄로 드러냄(원문 할증 포함 값).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BW6Jdsh18WPtYUR6THZJqn
2026-09-13 19:51:40 +09:00

26 lines
1.1 KiB
Python

"""산림 품셈에 절이 없는 공종 `AX-WK-*` (명세 2장 ② 갈래 WK · 2026-09-13).
지키는 것 — 모르타르 배합 1:3 = 보통인부 0.66인/㎥(건설 품셈 건축 9-1-1, 모래체가름 포함) ·
시멘트·모래는 자재 단가 층이 없어 금액에 안 들고 「안 붙은 줄」로 드러남.
"""
from __future__ import annotations
from decimal import Decimal
from B09_Estimation.B09_Estimation_UnitPrice import cached_build
from B09_Estimation.B09_Estimation_WorkItems_AX import MORTAR_MIX
def test_모르타르_배합은_보통인부_066인이고_자재는_드러내기만() -> None:
build = cached_build()
title = build.book.title(f"B-{MORTAR_MIX}")
assert (title.name, title.spec, title.unit) == ("모르타르 배합", "1:3", "㎥")
money = build.book.resolve(f"B-{MORTAR_MIX}")
wage = build.book.resolve("1002").labor # 보통인부
assert money.labor == wage * Decimal("0.66") and money.material == 0
assert [label.split(" —")[0] for label in build.unattached[MORTAR_MIX]] == [
"시멘트 510 kg",
"모래 1.10 ㎥",
]