Update turn lanes tests

This commit is contained in:
xmd5a 2016-03-16 16:36:52 +03:00
parent f61360f850
commit 2558a4f00f
2 changed files with 58 additions and 16 deletions

View file

@ -4,6 +4,7 @@ OsmAnd-core.jar
protobuf-src/com protobuf-src/com
OsmAnd-core-android.jar OsmAnd-core-android.jar
src/net/osmand/core/jni/* src/net/osmand/core/jni/*
result.*
# Android Studio # Android Studio
/.idea /.idea

View file

@ -1,34 +1,75 @@
[ [
{ {
"testName": "Amstelveenseweg", "testName": "1.Preston road TR Lorimar drive",
"startPoint": { "startPoint": {
"longitude": 35.51630312204361, "latitude": 45.69539,
"latitude": 45.6971206184178 "longitude": 35.43936
}, },
"endPoint": { "endPoint": {
"longitude": 35.51303619146347, "latitude": 45.69567,
"latitude": 45.6952846638807 "longitude": 35.440113
}, },
"expectedResults": { "expectedResults": {
"-94361": "TL, TL, TL, C, TR, TR", "-8827": "TL, C, C, C, +TR"
"-96062": "+TL, +TL, +TL, +C, TR, TR",
"-96063": "+TL, +TL, +TL, +C, TR, TR"
} }
}, },
{ {
"testName": "Amstelveenseweg2", "testName": "1.2.Preston road TL Lorimar drive",
"startPoint": { "startPoint": {
"longitude": 35.51630312204361, "latitude": 45.69716379996895,
"latitude": 45.6971206184178 "longitude": 35.43819894718172
}, },
"endPoint": { "endPoint": {
"longitude": 35.51303619146347, "latitude": 45.69602851362186,
"latitude": 45.6952846638807 "longitude": 35.44070949481966
},
"expectedResults": {
"-9105": "+TL, C, C, C, TR",
"-8512": "+TL, C, C, C",
"-8827": "TL, +C, +C"
}
},
{
"testName": "1.3.Baywater drive TR Preston road",
"startPoint": {
"latitude": 45.6960514631203,
"longitude": 35.43735606299879
},
"endPoint": {
"latitude": 45.695624319890825,
"longitude": 35.438198276629464
},
"expectedResults": {
"-8644": "TL, C, C, +TR"
}
},
{
"testName": "2.Valley View Lane TU Highway 161 Service Road ?????",
"startPoint": {
"latitude": 45.694859388262195,
"longitude": 35.467755138874054
},
"endPoint": {
"latitude": 45.694132477954575,
"longitude": 35.46842032670975
},
"expectedResults": {
"-41125": "+TU, +TL, +C;TL, C, C;TR"
}
},
{
"testName": "3.Motorway link from Ringweg Zuid TL Amstelveenseweg",
"startPoint": {
"latitude": 45.6971206184178,
"longitude": 35.51630312204361
},
"endPoint": {
"latitude": 45.6952846638807,
"longitude": 35.51303619146347
}, },
"expectedResults": { "expectedResults": {
"-96061": "+TL, +TL, +TL, +C, TR, TR",
"-96062": "+TL, +TL, +TL, C, TR, TR",
"-96063": "+TL, +TL, +TL, +C, TR, TR" "-96063": "+TL, +TL, +TL, +C, TR, TR"
} }
} }
]
]