osrm-backend/features/testbot/compression.feature

23 lines
635 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
| a | | d | | | | h |
| b | | | | e | | f |
| | c | | | | | g |
And the ways
| nodes |
| abcdef |
| fh |
| fg |
When I route I should get
| from | to | route | distance | speed |
| b | e | abcdef | 589m | 36 km/h |
| e | b | abcdef | 589m | 36 km/h |