Adapt tests to desired behaviour

This commit is contained in:
Patrick Niklaus 2016-05-03 23:01:25 +02:00
parent 1d33cb96f5
commit 82c3bc7b0e
No known key found for this signature in database
GPG Key ID: E426891B5F978B1B

View File

@ -26,19 +26,20 @@ Feature: Basic Routing
@smallest @smallest
Scenario: Check handling empty values Scenario: Check handling empty values
Given the node map Given the node map
| a | b | | c | d | e | f | | a | b | | c | | d | f |
| | | | | | e |
And the ways And the ways
| nodes | name | | nodes | name |
| ab | ab | | ab | ab |
| bc | bc | | bc | bc |
| cd | cd | | cd | |
| de | de | | de | de |
| ef | | | df | df |
When I route I should get When I route I should get
| from | to | route | summary | | from | to | route | summary |
| f | a | ,de,cd,bc,ab,ab | de, bc | | e | a | de,,bc,ab | de, bc |
@smallest @todo @smallest @todo
Scenario: Summaries when routing on a simple network Scenario: Summaries when routing on a simple network
@ -70,6 +71,6 @@ Feature: Basic Routing
| bf | third | | bf | third |
When I route I should get When I route I should get
| from | to | route | summary | | from | to | route | summary |
| a | e | first,second,second | first, second | | a | e | first,first,second,second | first, second |