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

This commit is contained in:
2026-10-26 04:00:29 +09:00
5 changed files with 11 additions and 4 deletions
+6
View File
@@ -227,6 +227,11 @@ def test_wedge_gravity_water_and_bolt():
assert bolted["F"] > dry["F"]
def test_fmt_negative_zero():
assert str(model._fmt(-0.0)) == "0.0" # 들림 · 볼트 없음 = 0(「-0.0」 아님)
assert model._fmt(math.inf) is None
def test_wedge_not_formed():
# 교선이 사면보다 가파름 → 사면으로 안 나옴
assert _wedge((141, 75), (219, 75), (180, 50), 35) is None
@@ -480,6 +485,7 @@ def test_e05_rock_sheet(monkeypatch):
assert "기본값 · 사용자 확정 전" in cells["B7"]["값"] and "½" in cells["B7"]["값"]
assert cells["B9"]["값"].startswith("깎기 비탈 1")
assert cells["A13"]["값"] == doc["sets"][0]["name"]
assert sheet["인쇄"]["머리행"] == [16, 16] and cells["A16"]["값"] == "측점" # 절리 한 줄
rows = [r for r in range(17, 40) if cells.get(f"A{r}", {}).get("값") == "STA"]
assert len(rows) == len(stations[0]["cases"]) + len(stations[0]["kinematic"]["toppling"])
for r, case in zip(rows, stations[0]["cases"]):