Fix tests
This commit is contained in:
parent
f545de9b38
commit
1acc561d38
1 changed files with 3 additions and 3 deletions
|
@ -99,7 +99,7 @@ public class RouteResultPreparationTest {
|
|||
String turnLanes = turn +":" +lanes;
|
||||
String name = routeSegments.get(prevSegment).getDescription();
|
||||
|
||||
long segmentId = routeSegments.get(prevSegment).getObject().getId();
|
||||
long segmentId = routeSegments.get(prevSegment).getObject().getId() >> (BinaryInspector.SHIFT_ID );
|
||||
String expectedResult = expectedResults.get(segmentId);
|
||||
if (expectedResult != null) {
|
||||
if(!Algorithms.objectEquals(expectedResult, turnLanes) &&
|
||||
|
@ -116,7 +116,7 @@ public class RouteResultPreparationTest {
|
|||
}
|
||||
|
||||
if (i < routeSegments.size()) {
|
||||
reachedSegments.add(routeSegments.get(i).getObject().getId());
|
||||
reachedSegments.add(routeSegments.get(i).getObject().getId() >> (BinaryInspector.SHIFT_ID ));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue