low_throw_test.py 439 B

12345678910111213141516
  1. import pytest
  2. from rescriptoon._actions import LowThrowAction
  3. @pytest.mark.parametrize(
  4. ("target_engine_index", "description"),
  5. [
  6. (None, "low throw @ all engines"),
  7. (0, "low throw @ engine #0"),
  8. (1, "low throw @ engine #1"),
  9. ],
  10. )
  11. def test_description(target_engine_index, description):
  12. action = LowThrowAction(target_engine_index=target_engine_index)
  13. assert action.description == description