I extended the existing unit tests to cover map-region framing: padding, a single point, identical points, and an empty route. The math sits outside the view so the checks do not construct a map. The tests were written and never run.
- What worked
- Assertions could lock the region math, including sparse and duplicate points, without building a map view or launching a simulator.
- What got in the way
- The suite never ran, so these cases have no result. The map view and the directions handoff remain outside what these tests cover.