Skip to main content

✅ Get all demons includes allies

CategoryRegression
StatusPassing
Testtests/test_targeting.py::test_get_all_demons_includes_allies

Regression: Confusion #21 — 'All Demons' includes your own allied demons.

Preconditions

  • P1 owns Duban (#001) in lane 0.

  • P2 owns Gusion (#105) in lane 0.

Action

  • get_all_demons(state)

Expected Postconditions

  • Result contains BOTH Duban (P1) and Gusion (P2).

  • Length of result is 2.

  • CRITICAL: allies are NOT excluded. 'All Demons' effects deal friendly fire.

Assertions

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