Skip to main content

✅ Sequential unit ids

CategoryAbility
StatusPassing
Testtests/test_data_loader.py::test_sequential_unit_ids

PRECONDITIONS:

Preconditions

  • UNITS data loaded

Action

  • Call get_all_unit_ids() and inspect the result.

Expected Postconditions

  • Returns exactly 120 IDs.

  • First ID is "001", last is "120".

  • IDs are zero-padded 3-digit strings: "001", "002", ..., "120".

  • IDs are in sorted order.

Assertions

assert len(ids) == 120
assert ids[0] == "001"
assert ids[-1] == "120"