re-introduce space into summaries

This commit is contained in:
Moritz Kobitzsch
2016-09-30 14:36:09 +02:00
parent e4d0d49300
commit 10b93c6908
3 changed files with 19 additions and 19 deletions
+8 -8
View File
@@ -23,10 +23,10 @@ Feature: Basic Routing
| df | street |
When I route I should get
| waypoints | route | summary |
| a,e | road,,1 st,1 st | road,1 st |
| a,d,f | road,,,street,street | road;street |
| a,e,f | road,,1 st,1 st,1 st,street,street | road,1 st;1 st,street |
| waypoints | route | summary |
| a,e | road,,1 st,1 st | road, 1 st |
| a,d,f | road,,,street,street | road;street |
| a,e,f | road,,1 st,1 st,1 st,street,street | road, 1 st;1 st, street |
Scenario: Name Empty
Given the node map
@@ -51,8 +51,8 @@ Feature: Basic Routing
| bc | | 101 |
When I route I should get
| waypoints | route | summary |
| a,c | road, | road,101 |
| waypoints | route | summary |
| a,c | road, | road, 101 |
Scenario: Only Refs
Given the node map
@@ -64,8 +64,8 @@ Feature: Basic Routing
| bc | | 101 |
When I route I should get
| waypoints | route | summary |
| a,c | , | 100,101 |
| waypoints | route | summary |
| a,c | , | 100, 101 |
Scenario: Single Ref
Given the node map
+10 -10
View File
@@ -18,12 +18,12 @@ Feature: Basic Routing
| de |
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 | b | ab,ab | ab |
| b | d | bc,cd,cd | bc,cd |
| 1 | c | bc,bc | bc |
| from | to | route | summary |
| 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 |
| 1 | c | bc,bc | bc |
@smallest
Scenario: Check handling empty values
@@ -40,8 +40,8 @@ Feature: Basic Routing
| df | df |
When I route I should get
| from | to | route | summary |
| e | a | de,,bc,ab,ab | de,bc |
| from | to | route | summary |
| e | a | de,,bc,ab,ab | de, bc |
@smallest @todo
Scenario: Summaries when routing on a simple network
@@ -74,6 +74,6 @@ Feature: Basic Routing
| xey | cross |we need this because phantom node segments are not considered for the summary |
When I route I should get
| from | to | route | summary |
| a | 1 | first,first,second,second | first,second |
| from | to | route | summary |
| a | 1 | first,first,second,second | first, second |