mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
ba7bd1dd91
Three separate features write into the same two places here: the leg merge and the final memo. The access lines want the snapped waypoints, plugin routing wants the via points it was given, and the driving limits want findings that belong to a leg rather than to a stop. Built one after another, the same two lines get rewritten three times. So the shapes land once, empty. RoutedLeg gains snapped and vias, RoadtripDay gains driveWarnings and dayWarning, RoadtripRoutes gains accessLines, and the memo becomes a walk rather than a map, because a range budget carried past midnight needs somewhere to live between two days. Schedule stays exactly as it was. Its own test compares the empty result with toEqual, which checks both directions, so a third field there would fail it — and a finding about the driving does not belong to a stop anyway.