snapshotRoundTrips

fun snapshotRoundTrips(factory: () -> MileageAlgorithm, trace: List<Fix>, breakAt: Int): Boolean

Verify that resuming from a snapshot mid-trace yields the same totals as an uninterrupted run — minus the one leg deliberately dropped across the resume boundary.

Process death is the field condition that produced real duplicate-distance bugs, and it is almost never covered by a test because reproducing it needs a device. Here it is a loop index.