✅ Wolf sprint moves one lane
| Category | Ability |
| Status | Passing |
| Test | tests/test_abilities_familiars.py::test_wolf_sprint_moves_one_lane |
Sprint moves Wolf 1 lane.
Preconditions
-
Lane 0: P1's Wolf (111_1) — READIED.
-
P1 AP: 3.
Action
- Execute Sprint (ability 0 on 111_1) with direction=1.
from engine.abilities import execute_ability
state = make_game_state()
state.players[Side.PLAYER_1].ap = 3
state.current_player = Side.PLAYER_1
state.quick_window_open = True
wolf = make_familiar_demon("111_1", lane=0, owner=Side.PLAYER_1)
state = place_demon(state, wolf)
wolf = state.demons[-1]
new_state = execute_ability(state, wolf, 0, targets=[], choices={"direction": 1})
wolf_after = next(d for d in new_state.demons if d.unit_id == "111_1")
Expected Postconditions
- Wolf lane = 1.
Assertions
assert wolf_after.lane == 1, f"Wolf should be in lane 1, got {wolf_after.lane}"