additional testcase on what I would expect

This commit is contained in:
Moritz Kobitzsch 2016-04-29 10:57:54 +02:00 committed by Patrick Niklaus
parent f251f93a11
commit 648646068c
No known key found for this signature in database
GPG Key ID: E426891B5F978B1B

View File

@ -18,8 +18,8 @@ Feature: Basic Routing
When I route I should get
| from | to | route | summary |
| a | e | ab,bc,cd,de,de | ab, bc |
| e | a | de,cd,bc,ab,ab | de, bc |
| a | e | ab,bc,cd,de,de | ab, bc |
| e | a | de,cd,bc,ab,ab | de, bc |
| a | b | ab,ab | ab |
| b | d | bc,cd,cd | bc, cd |
@ -37,6 +37,7 @@ Feature: Basic Routing
| ef | |
When I route I should get
| from | to | route | summary |
| f | a | ,de,cd,bc,ab,ab | de, bc |
@smallest @todo
@ -52,3 +53,23 @@ Feature: Basic Routing
| from | to | route | summary |
| a | b | ab,ab | ab |
| b | a | ab,ab | ab |
@repeated
Scenario: Check handling empty values
Given the node map
| f | | | |
| b | c | d | e |
| a | | | |
And the ways
| nodes | name |
| ab | first |
| bc | first |
| cd | first |
| de | second |
| bf | third |
When I route I should get
| from | to | route | summary |
| a | e | first,second,second | first, second |