Skip to main content

✅ Speed tie first contract deterministic

CategoryAbility
StatusPassing
Testtests/test_turn_sequence.py::test_speed_tie_first_contract_deterministic

Same seed → same die roll winner for first contract.

Preconditions

  • Two states, both with no tokens and same rng seed (55).

Action

  • resolve_speed_tie on both.
result_a = resolve_speed_tie(state_a, DeterministicRNG(seed=55))
result_b = resolve_speed_tie(state_b, DeterministicRNG(seed=55))

Expected Postconditions

  • Both produce the same _contract_faster_side.

Assertions

assert result_a._contract_faster_side == result_b._contract_faster_side