[fix] negosium: 협상카드 카운터가 10원 단위 반올림 — 앵커·목표가와 표기 통일
This commit is contained in:
1 parent
5520e3c2b6
commit
775984fe48
2 files changed
+3
-3
No files matched your search
@@ -47,8 +47,8 @@ def test_counter_formulas_and_clamp():
|
||||
assert compute_counter(tactic_for("WC-05"), ctx) == 10000
|
||||
# 갑 직전 포지션이 있으면 그 기준: (9800+11000)/2 = 10400 → 역시 클램프 10000
|
||||
assert compute_counter(tactic_for("WC-05"), dict(ctx, prev_customer_price=9800)) == 10000
|
||||
# 클램프 미발동 구간: (9900+10050)/2 = 9975 ≤ target
|
||||
assert compute_counter(tactic_for("WC-05"), dict(ctx, input_price=10050)) == 9975
|
||||
# 클램프 미발동 구간: (9900+10050)/2 = 9975 ≤ target → 10원 단위 반올림 9980
|
||||
assert compute_counter(tactic_for("WC-05"), dict(ctx, input_price=10050)) == 9980
|
||||
|
||||
|
||||
def test_counter_meaningless_degrades_to_hold():
|
||||
|
||||
Reference in new issue
Block a user