Skip to main content

✅ Chiron can fuse with helper

CategoryAbility
StatusPassing
Testtests/test_abilities_passive.py::test_chiron_can_fuse_with_helper

chiron_can_fuse_with() helper correctly validates fusion targets.

Preconditions

No preconditions specified in docstring.

Action

  • chiron_can_fuse_with("012") — Ronove (Distant) → allowed

  • chiron_can_fuse_with("001") — Duban (Local) → blocked

from engine.abilities_passive import chiron_can_fuse_with

ok, reason = chiron_can_fuse_with("012")

Expected Postconditions

  • ("012") returns (True, "")

  • ("001") returns (False, )

Assertions

assert ok is True, f"Expected Chiron+Ronove (Distant) to be allowed, got: {reason}"

ok, reason = chiron_can_fuse_with("001")
assert ok is False, "Expected Chiron+Duban (Local) to be blocked"
assert "Distant" in reason, f"Expected reason to mention 'Distant': {reason}"