Skip to main content

✅ Check defeat below 15

CategoryAbility
StatusPassing
Testtests/test_scoring.py::test_check_defeat_below_15

P1 has 14 CP. P2 has 10 CP. No one has lost yet.

Preconditions

  • P1 CP: 14

  • P2 CP: 10

Action

  • check_defeat(state)

Expected Postconditions

  • Returns (False, None, None)

Assertions

assert game_over is False
assert loser is None
assert reason is None