move summaries to car profile, test for references, use boost adaptors
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
@routing @basic @testbot
|
||||
Feature: Basic Routing
|
||||
|
||||
Background:
|
||||
Given the profile "testbot"
|
||||
Given a grid size of 500 meters
|
||||
|
||||
@smallest
|
||||
Scenario: Summaries when routing on a simple network
|
||||
Given the node map
|
||||
| b | | | f |
|
||||
| | | | |
|
||||
| c | d | | g |
|
||||
| | | | |
|
||||
| a | | e | |
|
||||
|
||||
And the ways
|
||||
| nodes | name |
|
||||
| acb | road |
|
||||
| de | 1 st |
|
||||
| cd | |
|
||||
| dg | blvd |
|
||||
| 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 |
|
||||
@@ -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
|
||||
@@ -53,9 +53,9 @@ Feature: Basic Routing
|
||||
| ab |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | summary |
|
||||
| a | b | ab,ab | ab |
|
||||
| b | a | ab,ab | ab |
|
||||
| from | to | route | summary |
|
||||
| a | b | ab,ab | ab |
|
||||
| b | a | ab,ab | ab |
|
||||
|
||||
@repeated
|
||||
Scenario: Check handling empty values
|
||||
@@ -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 |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user