OsmAnd/OsmAnd-java/test/resources/test_routing.json

43 lines
1.4 KiB
JSON
Raw Normal View History

2016-05-30 10:25:02 +02:00
[
{
2016-06-02 23:10:17 +02:00
"testName": "3.Different routes depending on start coordinates https://github.com/osmandapp/Osmand/issues/1197",
2016-06-03 11:43:42 +02:00
"description": "При planRoadDirection='-1' маршрут неверный, при 0 - верный",
2016-06-02 23:10:17 +02:00
"params": {
"vehicle": "car",
2016-06-03 11:43:42 +02:00
"short_way": "true",
"planRoadDirection": "0"
2016-06-02 23:10:17 +02:00
},
2016-05-30 10:25:02 +02:00
"startPoint": {
2016-06-02 23:10:17 +02:00
"latitude": 45.90810929390909,
"longitude": 35.25023227930072
2016-05-30 10:25:02 +02:00
},
"endPoint": {
2016-06-02 23:10:17 +02:00
"latitude": 45.90951460825728,
"longitude": 35.24373865127566
2016-05-30 10:25:02 +02:00
},
"expectedResults": {
2016-06-02 23:10:17 +02:00
"30657405": "true",
"178721843": "false",
2016-05-30 10:25:02 +02:00
}
},
{
2016-06-03 11:43:42 +02:00
"testName": "5.Route depends on the distance to a junction, if routing engine takes the longer way https://github.com/osmandapp/Osmand/issues/1200",
"description": "Подтверждается только неверный маршрут. От дистанции не зависит, но зависит от planRoadDirection. При -1 маршрут верный, при 0 - нет",
2016-05-30 10:25:02 +02:00
"params": {
2016-06-03 11:43:42 +02:00
"vehicle": "car",
"short_way": "true",
"planRoadDirection": "0"
2016-05-30 10:25:02 +02:00
},
"startPoint": {
2016-06-03 11:43:42 +02:00
"latitude": 45.897117500680615,
"longitude": 35.3328966200352
2016-05-30 10:25:02 +02:00
},
"endPoint": {
2016-06-03 11:43:42 +02:00
"latitude": 45.89920161032259,
"longitude": 35.335714280605345
2016-05-30 10:25:02 +02:00
},
"expectedResults": {
2016-06-03 11:43:42 +02:00
"93014632": "false"
2016-05-30 10:25:02 +02:00
}
}
]