roadSegment.addVehicle(v2);
// vehicles too close together, so acceleration balance should be large negative
double balance = m1.calcAccelerationBalance(v1, Lanes.TO_RIGHT, roadSegment);
assertEquals(-Double.MAX_VALUE, balance, delta);
balance = m2.calcAccelerationBalance(v2, Lanes.TO_LEFT, roadSegment);
assertEquals(-Double.MAX_VALUE, balance, delta);
// now set up with sufficient gap between vehicles, but v2 needs to decelerate, so it is not
// favourable to change lanes
roadSegment.clearVehicles();