running pace calculator: fix bug
running pace calculator: fix bug: a task in smol-software-harbor (Harbor dataset). The club newsletter printed a pace of 4:60 /km . fmt pace() in pace.py rounds the seconds after splitting off the minutes, so 299.6 s/km becomes 4:60 . Fix it so that rounding happens first, as the docstring says…
The task
The club newsletter printed a pace of `4:60 /km`. `fmt_pace()` in `pace.py` rounds the seconds after splitting off the minutes, so 299.6 s/km becomes `4:60`. Fix it so that rounding happens first, as the docstring says. Run `python3 -m pytest -q`.
Part of efederici/smol-software-harbor.