From 265c23d5f241016ddb97efa03bbef64d7e29d35f Mon Sep 17 00:00:00 2001 From: umsangdon Date: Sat, 10 Oct 2026 16:47:04 +0900 Subject: [PATCH] =?UTF-8?q?fix(test):=20=EA=B4=80=20=EB=B3=B4=ED=98=B8?= =?UTF-8?q?=EA=B3=B5=20=EA=B8=B0=EB=B3=B8=20=EC=9E=90=EB=A6=AC=20=EC=9C=A0?= =?UTF-8?q?=EC=9E=85=20d=20=EA=B8=B0=EB=8C=80=EA=B0=92=200.6=20=E2=86=92?= =?UTF-8?q?=200.4=20=C2=B7=20=EC=9C=97=EB=A9=B4=20=EB=85=B8=EA=B2=AC=20?= =?UTF-8?q?=E2=88=92=200.3=20(211-1=20=EB=B2=BD=200.2=20=EB=86=92=EC=95=84?= =?UTF-8?q?=EC=A7=84=20=EB=8B=B9=EC=97=B0=ED=95=9C=20=EA=B2=B0=EA=B3=BC)(2?= =?UTF-8?q?25-2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_018jonfdxn1Xit9bdkNJpE4G --- resources/tester/test_79_guard_shape.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/tester/test_79_guard_shape.py b/resources/tester/test_79_guard_shape.py index 8d40967f0..c2a12a831 100644 --- a/resources/tester/test_79_guard_shape.py +++ b/resources/tester/test_79_guard_shape.py @@ -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