fix: 각 정의 검토 반영 — 지금 비 오면 바깥 각 상한(비 소식 조건), 습도 상한, 시간대가 구간과 2시간 이상 겹쳐야 구간 점수, 뜨아·환기·김서림·화장붕괴·냉면·택시·배달·야구·사진·공부·넷플릭스·군밤·연날리기·이불빨래·실내건조·귤·군고구마·붕어빵·눈사람·빙수·캠핑·단풍·해돋이 비중·조건 조정, 새 각 우산·파전·감성노래
This commit is contained in:
1 parent
c0ba463e54
commit
d020d27715
7 files changed
+505
-76
No files matched your search
@@ -92,7 +92,7 @@ async def test_index_detail_has_six_factors_and_rules(fakes):
|
||||
assert body["index"]["code"] == "yajang"
|
||||
assert [f["label"] for f in body["factors"]] == ["기온 알맞음", "비 안 옴", "바람 잔잔", "습도 알맞음", "공기 맑음", "요일 알맞음"]
|
||||
assert sum(f["weight"] for f in body["factors"]) == 100
|
||||
assert body["zero_rules"] == "비 확률 80% 이상이거나 바람 14m/s 이상이면 0점"
|
||||
assert body["zero_rules"] == "비 소식이 있거나 비 확률 70% 이상이거나 바람 14m/s 이상이면 0점"
|
||||
assert body["limit"].startswith("모기")
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user