Skip to main content

✅ Get demons in lane

CategoryInteraction
StatusPassing
Testtests/test_targeting.py::test_get_demons_in_lane

Query lane 0 returns all demons in that lane only.

Preconditions

  • Lane 0: P1's Duban (#001), P2's Gusion (#105)

  • Lane 1: P1's Andras (#093)

Action

  • get_demons_in_lane(state, lane=0)

Expected Postconditions

  • Result contains Duban and Gusion (both lane 0 demons, both players).

  • Result does NOT contain Andras (lane 1).

  • Length of result is 2.

Assertions

assert len(result) == 2
assert "001" in result_ids
assert "105" in result_ids
assert "093" not in result_ids