Merge remote-tracking branch 'origin/sub_laptop_1' into main_laptop_1

This commit is contained in:
2026-10-10 16:48:17 +09:00
+4 -3
View File
@@ -109,12 +109,13 @@ def test_유입_수평공간_시작은_본체_바닥(shape: dict) -> None:
def test_관_보호공_기본_자리는_제일_위(shape: dict) -> None:
pipe = shape["pipe"]
assert pipe is not None
# 벽 윗면 = 관 윗면(139-1) · 관 위 토피 0.5 → 유입 벽 윗면 = 노견 − 0.5 = 사면 d 0.6(1:1.2)
assert pipe["d"]["inlet"] == pytest.approx(0.6, abs=1e-6)
# 유입 벽 높이 = 관경 + 0.7(211-1) · 바닥 = 관 invert 상한(노견 − 관경 − 토피 0.5) 고정이라
# 벽이 0.2 높아진 만큼 윗면이 노견 − 0.3 으로 올라 사면 d 0.6 → 0.4(1:1.2 · 0.1 올림)
assert pipe["d"]["inlet"] == pytest.approx(0.4, abs=1e-6)
# 유출은 기본 자리(225-1 — 관 길이 맞춤 이동 없음 · 종전 기본 = 경사길이 4 m · d 3.07)
assert pipe["d"]["outlet"] < 1.0
inlet = next(w for w in pipe["walls"] if w["role"] == "inlet")
assert inlet["topBelowEdge"] == pytest.approx(0.5, abs=0.05)
assert inlet["topBelowEdge"] == pytest.approx(0.3, abs=0.05)
assert round(pipe["lengthM"], 1) == pipe["lengthM"] # 225-1 — 실제 길이 0.1 m