cucumber: change syntax of node maps
This commit is contained in:
committed by
Moritz Kobitzsch
parent
d47d03c15b
commit
7cbb1807e7
@@ -6,9 +6,11 @@ Feature: Choosing fastest route
|
||||
|
||||
Scenario: Pick the geometrically shortest route, way types being equal
|
||||
Given the node map
|
||||
| | | s | | |
|
||||
| | | t | | |
|
||||
| x | a | | b | y |
|
||||
"""
|
||||
s
|
||||
t
|
||||
x a b y
|
||||
"""
|
||||
|
||||
And the ways
|
||||
| nodes | highway |
|
||||
@@ -24,8 +26,10 @@ Feature: Choosing fastest route
|
||||
|
||||
Scenario: Pick the fastest route, even when it's longer
|
||||
Given the node map
|
||||
| | p | |
|
||||
| a | s | b |
|
||||
"""
|
||||
p
|
||||
a s b
|
||||
"""
|
||||
|
||||
And the ways
|
||||
| nodes | highway |
|
||||
|
||||
Reference in New Issue
Block a user