feat: 달 포스트·히어로 달을 오늘 밤 실제 모양으로 — 표면 무늬·빛 번짐, 보름엔 가장 밝게, 저녁엔 노을빛, 달 포스트는 밤하늘·별 배경
This commit is contained in:
1 parent
fcc4163e15
commit
d32e24a5ab
8 files changed
+143
-24
No files matched your search
@@ -41,6 +41,17 @@ def test_moon_post_every_night_with_full_and_new_moon_stories():
|
||||
assert plain.title == "오늘 밤 차오르는 달" and plain.slides[0].rows[-1].label == "다음 보름" and plain.slides[0].rows[-1].value.startswith("10.07")
|
||||
|
||||
|
||||
def test_moon_post_slide_carries_shape_for_drawing():
|
||||
full = _moon_post(datetime(2025, 10, 7, 20, 0, tzinfo=KST)).slides[0]
|
||||
assert full.moon_pct == 100
|
||||
new = _moon_post(datetime(2024, 4, 9, 1, 0, tzinfo=KST)).slides[0]
|
||||
assert new.moon_pct == 0
|
||||
waxing = _moon_post(datetime(2025, 10, 4, 20, 0, tzinfo=KST)).slides[0]
|
||||
assert 70 < waxing.moon_pct < 97 and waxing.moon_waxing is True
|
||||
waning = _moon_post(datetime(2025, 10, 10, 20, 0, tzinfo=KST)).slides[0]
|
||||
assert 70 < waning.moon_pct < 97 and waning.moon_waxing is False
|
||||
|
||||
|
||||
SEOUL = (37.57, 126.98)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user