mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
add tests verifying open-routes
This commit is contained in:
parent
d526ce0080
commit
cf9d3c0779
7 changed files with 1461 additions and 11 deletions
|
|
@ -72,7 +72,6 @@ class Inserter {
|
|||
}
|
||||
|
||||
private void setEndLocation(VehicleRoute route, Service service) {
|
||||
route.getEnd().setCoordinate(service.getCoord());
|
||||
route.getEnd().setLocationId(service.getLocationId());
|
||||
}
|
||||
|
||||
|
|
@ -106,7 +105,6 @@ class Inserter {
|
|||
}
|
||||
|
||||
private void setEndLocation(VehicleRoute route, Shipment shipment) {
|
||||
route.getEnd().setCoordinate(shipment.getDeliveryCoord());
|
||||
route.getEnd().setLocationId(shipment.getDeliveryLocation());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue