Use elevation data in mapcreator & route tests
This commit is contained in:
parent
0831f94750
commit
1b45d203f0
2 changed files with 3 additions and 1 deletions
|
|
@ -77,6 +77,8 @@ public class RouteServerTest {
|
|||
InputStream inputStream = httpConnection.getInputStream();
|
||||
JSONObject geoJson = new JSONObject(new String(inputStream.readAllBytes(), StandardCharsets.UTF_8));
|
||||
Assert.assertEquals("1169", geoJson.query("/features/0/properties/track-length"));
|
||||
Assert.assertEquals("-15", geoJson.query("/features/0/properties/plain-ascend"));
|
||||
Assert.assertEquals("4", geoJson.query("/features/0/properties/filtered ascend"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue