Use elevation data in mapcreator & route tests

This commit is contained in:
Manuel Fuhr 2023-05-22 13:32:48 +02:00
parent 0831f94750
commit 1b45d203f0
2 changed files with 3 additions and 1 deletions

View file

@ -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