test(377-3 B07 횡단 덧그림 범위): 배수관 측점 85.052 기대값 갱신 — 까닭 = 371-1(6ba26ee61) 의도한 형상 바뀜
- 371-1 TS 만 옛 판으로 되돌려 다시 지으면 옛 기대값 그대로 3 통과 → 371-1 탓 확정 - 옛: 유출 벽 아래 다단 한 단(1.5 m) + 그 발끝에서 완만한 끝 선이 13.82 m(지반 854.97)까지 - 새: 벽 자리 0.35 m 도로 쪽 · 0.5 m 내려감(성토 위 이음 기준) → 다단 없음 · 벽 발끝(9.77)에서 끝 선이 바로 지반(10.48) - x_max 13.8216 → 10.4804 · y 범위 17.7502 → 15.8101 · x_min · 0 m 글자 그대로 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Se7ytqbohmBQnfYpwYFnYf
This commit is contained in:
@@ -72,7 +72,7 @@ def test_no_overlay_keeps_68_1_frame() -> None:
|
||||
|
||||
@pytest.mark.skipif(not NODE_MODULES.is_dir(), reason="프론트엔드 의존성 미설치")
|
||||
def test_node_bundle_measures_screen_overlay() -> None:
|
||||
"""화면 코드를 Node 로 — 배수관 측점(85.052)은 서버 범위(+4.0 m)보다 13.8 m 까지 뻗는다."""
|
||||
"""화면 코드를 Node 로 — 배수관 측점(85.052)은 서버 범위(+4.0 m)보다 10.5 m 까지 뻗는다."""
|
||||
from B07_DesignDetail.B07_DesignDetail_Router_Support_Overlay import (
|
||||
_NPM_SCRIPT,
|
||||
BUNDLE,
|
||||
@@ -84,9 +84,11 @@ def test_node_bundle_measures_screen_overlay() -> None:
|
||||
extents = _extents_from(run_bundle_json(BUNDLE, _NPM_SCRIPT, {"detail": detail}))
|
||||
assert set(extents) == {0, 85.05} # 측점 키는 0.01 m 로 끊는다(cross_station)
|
||||
x_min, x_max, y_min, y_max = extents[85.05]
|
||||
assert x_max == pytest.approx(13.8216, abs=1e-3)
|
||||
# 371-1 — 유출 벽 0.5 m 내려가 다단 없음 · 발끝(9.77)에서 끝 선 바로 지반(옛 13.8216)
|
||||
assert x_max == pytest.approx(10.4804, abs=1e-3)
|
||||
# 유입 집수정 끝 절토 = 암 1:0.4 → 토사 1:1.0 복합경사(91-4 · 옛 한 줄 −10.4371 · 16.9505)
|
||||
assert x_min == pytest.approx(-11.6239, abs=1e-3)
|
||||
assert y_max - y_min == pytest.approx(17.7502, abs=1e-3)
|
||||
# 371-1 — 맨 아래 = 옛 끝 선 끝(13.82 m 지반 854.97) → 새 벽 발끝 쪽(856.91) · 옛 17.7502
|
||||
assert y_max - y_min == pytest.approx(15.8101, abs=1e-3)
|
||||
# 0 m: 노폭 글자(2 mm, 세로 가운데 정렬)가 맨 위 — 글자 반높이 0.1 m 까지
|
||||
assert extents[0][3] == pytest.approx(879.8831, abs=1e-3)
|
||||
|
||||
Reference in New Issue
Block a user