Fix tests

This commit is contained in:
Victor Shcherb 2016-04-28 10:31:27 +02:00
parent f545de9b38
commit 1acc561d38

View file

@ -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 ));
}
}