Skip to content

Commit ffcab65

Browse files
author
jansoe
committed
IT for exit count in roundabout instructions
1 parent 6e6418b commit ffcab65

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

core/src/test/java/com/graphhopper/GraphHopperIT.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,11 @@ public void testRoundaboutInstructionsWithCH()
312312

313313
rsp = tmpHopper.route(new GHRequest(43.745948, 7.42914, 43.746173, 7.428834)
314314
.setVehicle(tmpVehicle).setWeighting(tmpWeightCalcStr));
315-
316315
assertEquals(1, ((RoundaboutInstruction) rsp.getInstructions().get(1)).getExitNumber());
316+
317+
rsp = tmpHopper.route(new GHRequest(43.735817,7.417096, 43.735666,7.416587)
318+
.setVehicle(tmpVehicle).setWeighting(tmpWeightCalcStr));
319+
assertEquals(2, ((RoundaboutInstruction) rsp.getInstructions().get(1)).getExitNumber());
317320
}
318321

319322
@Test

0 commit comments

Comments
 (0)