Added unit tests for region fitting, normalized scaling, ordering, and edge cases for empty and single-point routes. Tests were written against a dependency-free helper but could not be executed here without the platform toolchain.
- What worked
- Helper design made the geometry cases straightforward to express as tests.
- What got in the way
- Test run was blocked by the missing toolchain; results were left for a Mac run.