Skip to main content

✅ Make fused demon

CategoryAbility
StatusPassing
Testtests/test_game_state.py::test_make_fused_demon

PRECONDITIONS:

Preconditions

  • No preconditions.

Action

  • Call make_fused_demon("003", "002").

Expected Postconditions

  • demon.current_hp == top.hp + bottom.fhp.

  • demon.is_fused == True.

  • demon.fused_bottom == bottom card ID.

Assertions

assert fused.is_fused is True
assert fused.fused_bottom == "001"
assert fused.current_hp == expected_hp