cucumber: change syntax of node maps

This commit is contained in:
Emil Tin
2016-09-30 09:33:08 +02:00
committed by Moritz Kobitzsch
parent d47d03c15b
commit 7cbb1807e7
112 changed files with 3926 additions and 2564 deletions
+24 -16
View File
@@ -7,8 +7,10 @@ Feature: Basic trip planning
Scenario: Testbot - Trip planning with less than 10 nodes
Given the node map
| a | b |
| c | d |
"""
a b
c d
"""
And the ways
| nodes |
@@ -24,10 +26,12 @@ Feature: Basic trip planning
Scenario: Testbot - Trip planning with more than 10 nodes
Given the node map
| a | b | c | d |
| l | | | e |
| k | | | f |
| j | i | h | g |
"""
a b c d
l e
k f
j i h g
"""
And the ways
| nodes |
@@ -51,13 +55,15 @@ Feature: Basic trip planning
Scenario: Testbot - Trip planning with multiple scc
Given the node map
| a | b | c | d |
| l | | | e |
| k | | | f |
| j | i | h | g |
| | | | |
| q | m | n | |
| | p | o | |
"""
a b c d
l e
k f
j i h g
q m n
p o
"""
And the ways
| nodes |
@@ -87,9 +93,11 @@ Feature: Basic trip planning
# Test single node in each component #1850
Scenario: Testbot - Trip planning with less than 10 nodes
Given the node map
| a | 1 | b |
| | | |
| c | 2 | d |
"""
a 1 b
c 2 d
"""
And the ways
| nodes |