elevator control: fix bug
elevator control: fix bug: a task in smol-software-harbor (Harbor dataset). When going down, visit order() in elevator.py serves the floors below in ascending order (1 before 3), so the car jumps to the bottom and climbs back. Floors below the car must be served nearest first (descending). test…
The task
When going down, `visit_order()` in `elevator.py` serves the floors below in ascending order (1 before 3), so the car jumps to the bottom and climbs back. Floors below the car must be served nearest first (descending). `test_down_first` fails; fix it and run `python3 -m pytest -q`.
Part of efederici/smol-software-harbor.