tests for signal penalty. renamed 'given the nodes' to 'given the node map' and introduced new 'given the nodes' to set node tags

This commit is contained in:
Emil Tin
2012-03-08 08:37:41 +01:00
parent a65339d011
commit 9dfbd5f671
14 changed files with 162 additions and 52 deletions
+8 -8
View File
@@ -8,7 +8,7 @@ Feature: Turn restrictions
@no_turning
Scenario: No left turn
Given the nodes
Given the node map
| | n | |
| w | j | e |
| | s | |
@@ -32,7 +32,7 @@ Feature: Turn restrictions
@no_turning
Scenario: No right turn
Given the nodes
Given the node map
| | n | |
| w | j | e |
| | s | |
@@ -56,7 +56,7 @@ Feature: Turn restrictions
@no_turning
Scenario: No u-turn
Given the nodes
Given the node map
| | n | |
| w | j | e |
| | s | |
@@ -80,7 +80,7 @@ Feature: Turn restrictions
@no_turning
Scenario: Handle any no_* relation
Given the nodes
Given the node map
| | n | |
| w | j | e |
| | s | |
@@ -104,7 +104,7 @@ Feature: Turn restrictions
@only_turning
Scenario: Only left turn
Given the nodes
Given the node map
| | n | |
| w | j | e |
| | s | |
@@ -128,7 +128,7 @@ Feature: Turn restrictions
@only_turning
Scenario: Only right turn
Given the nodes
Given the node map
| | n | |
| w | j | e |
| | s | |
@@ -152,7 +152,7 @@ Feature: Turn restrictions
@only_turning
Scenario: Only straight on
Given the nodes
Given the node map
| | n | |
| w | j | e |
| | s | |
@@ -176,7 +176,7 @@ Feature: Turn restrictions
@no_turning
Scenario: Handle any only_* restriction
Given the nodes
Given the node map
| | n | |
| w | j | e |
| | s | |