Skip to main content

✅ Event type has 22 values

CategoryAbility
StatusPassing
Testtests/test_events.py::test_event_type_has_22_values

Verify EventType enum has exactly the 22 specified values.

Preconditions

  • EventType enum defined in engine/events.py

Action

  • Count the members of the EventType enum

Expected Postconditions

  • len(EventType) == 22

  • Members span values 0 through 21 (no gaps)

Assertions

assert len(EventType) == 22
values = {e.value for e in EventType}
assert values == set(range(22))