Revert test
This commit is contained in:
parent
905a4e8353
commit
f545de9b38
2 changed files with 8 additions and 6 deletions
|
@ -4,6 +4,7 @@ import com.google.gson.Gson;
|
|||
import com.google.gson.GsonBuilder;
|
||||
|
||||
import net.osmand.PlatformUtil;
|
||||
import net.osmand.binary.BinaryInspector;
|
||||
import net.osmand.binary.BinaryMapIndexReader;
|
||||
import net.osmand.data.LatLon;
|
||||
import net.osmand.util.Algorithms;
|
||||
|
@ -121,7 +122,8 @@ public class RouteResultPreparationTest {
|
|||
|
||||
Set<Long> expectedSegments = expectedResults.keySet();
|
||||
for (Long expSegId : expectedSegments){
|
||||
Assert.assertTrue("Expected segment " + expSegId + " weren't reached in route segments " + reachedSegments.toString(), reachedSegments.contains(expSegId));
|
||||
Assert.assertTrue("Expected segment " + (expSegId) +
|
||||
" weren't reached in route segments " + reachedSegments.toString(), reachedSegments.contains(expSegId));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -292,8 +292,8 @@
|
|||
"longitude": 35.47155582904816
|
||||
},
|
||||
"expectedResults": {
|
||||
"13183024": "C|+C|TR",
|
||||
"13113280": "TL|+C"
|
||||
"102992": "C|+C|TR",
|
||||
"102447": "TL|+C"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -307,7 +307,7 @@
|
|||
"longitude": 35.500362902879715
|
||||
},
|
||||
"expectedResults": {
|
||||
"901155998": "TL|+C|+C|TR"
|
||||
"7040281": "TL|+C|+C|TR"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -321,7 +321,7 @@
|
|||
"longitude": 35.5249265730381
|
||||
},
|
||||
"expectedResults": {
|
||||
"903391632": "TL|+C"
|
||||
"7057747": "TL|+C"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -335,7 +335,7 @@
|
|||
"longitude": 35.568321076631605
|
||||
},
|
||||
"expectedResults": {
|
||||
"41988272174": "TL|+C|TR"
|
||||
"328033376": "TL|+C|TR"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue