osrm-backend/test/examples/t/tiles/CMakeLists.txt
Patrick Niklaus 6eb4f090f9 Squashed 'third_party/libosmium/' content from commit ce865381f
git-subtree-dir: third_party/libosmium
git-subtree-split: ce865381fb752323ff1e66181f5a49b7f500ffa3
2017-08-30 09:30:27 +00:00

19 lines
590 B
CMake

add_test(NAME examples_tiles_zoom_too_large
COMMAND osmium_tiles 50 1 1)
set_tests_properties(examples_tiles_zoom_too_large PROPERTIES WILL_FAIL true)
add_test(NAME examples_tiles_location_invalid
COMMAND osmium_tiles 1 200 200)
set_tests_properties(examples_tiles_location_invalid PROPERTIES WILL_FAIL true)
add_test(NAME examples_tiles_okay
COMMAND osmium_tiles 8 55.3 11.7)
set_tests_properties(examples_tiles_okay PROPERTIES
PASS_REGULAR_EXPRESSION "^WGS84: lon=55.3 lat=11.7\nMercator: x=.*\nTile: zoom=8 x=167 y=119\n$"
)