osrm-backend/features/testbot/compression.feature

25 lines
637 B
Gherkin
Raw Normal View History

2014-10-09 08:30:06 -04:00
@routing @graph @testbot
2014-10-08 05:01:33 -04:00
Feature: Geometry Compression
Background:
Given the profile "testbot"
Scenario: Compressed segments have correct order
Given the node map
2016-09-30 03:33:08 -04:00
"""
a d h
b e f
c g
"""
2014-10-08 05:01:33 -04:00
And the ways
| nodes |
| abcdef |
| fh |
| fg |
When I route I should get
2016-04-01 05:39:47 -04:00
| from | to | route | distance | speed |
2016-11-22 15:08:12 -05:00
| b | e | abcdef,abcdef | 588.6m | 36 km/h |
| e | b | abcdef,abcdef | 588.6m | 36 km/h |