From 331a73c3ef1df20ff6bd9c2cb9f01e29a17b4b96 Mon Sep 17 00:00:00 2001 From: xmd5a Date: Wed, 17 Aug 2016 11:17:06 +0300 Subject: [PATCH] Add routing test --- OsmAnd-java/test/resources/test_routing.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/OsmAnd-java/test/resources/test_routing.json b/OsmAnd-java/test/resources/test_routing.json index c65429627a..710caa9d0f 100644 --- a/OsmAnd-java/test/resources/test_routing.json +++ b/OsmAnd-java/test/resources/test_routing.json @@ -225,5 +225,24 @@ "expectedResults": { "181495": "false" } + }, + { + "testName": "19.Routing prblem: OsmAnd fails to use the nearest link between two halves of a highway https://github.com/osmandapp/Osmand/issues/1970#issuecomment-209651749", + "params": { + "vehicle": "car", + "short_way": "true", + "planRoadDirection": "-1" + }, + "startPoint": { + "latitude": 45.84915380671208, + "longitude": 35.496067695226714 + }, + "endPoint": { + "latitude": 45.849069733500244, + "longitude": 35.49558221539502 + }, + "expectedResults": { + "30783342": "false" + } } ] \ No newline at end of file