add test-case for bug
This commit is contained in:
parent
46e93770c9
commit
415f8ef2d8
22
features/testbot/compression.feature
Normal file
22
features/testbot/compression.feature
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
@routing @graph
|
||||||
|
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 | 35 km/h |
|
||||||
|
| e | b | abcdef | 589m | 35 km/h |
|
Loading…
Reference in New Issue
Block a user