Skip to main content

✅ Sharur push same lane

CategoryAbility
StatusPassing
Testtests/test_abilities_complex.py::TestSharurPostActionPush::test_sharur_push_same_lane

Sharur targets a demon in the same lane — target is pushed

Preconditions

  • Lane 0: P1's Sharur (#068), Lane 0: P2's Duban (#001)

Action

  • Fire ABILITY_USED with source=Sharur, target=Duban (same lane)
result = fire_event(state, event)

duban_after = next(d for d in result.demons if d.unit_id == "001")

Expected Postconditions

  • Duban: pushed to lane 1 ("away from Sharur" = out of Sharur's lane)

Assertions

assert duban_after.lane == 1, (
f"Same-lane target must be pushed out of Sharur's lane. "
f"Expected lane 1, got lane {duban_after.lane}."
)