Util/ContainerUtils.h
This commit is contained in:
parent
d5eee3138f
commit
cd1f45e248
40
features/testbot/viaroute.feature
Normal file
40
features/testbot/viaroute.feature
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
@routing @testbot @via @oneway
|
||||||
|
Feature: Via points
|
||||||
|
|
||||||
|
Background:
|
||||||
|
Given the profile "testbot"
|
||||||
|
|
||||||
|
Scenario: Multiple via points with oneways
|
||||||
|
Given the node map
|
||||||
|
| | a | |
|
||||||
|
| c | b | |
|
||||||
|
| d | | |
|
||||||
|
| e | f | |
|
||||||
|
| | g | i |
|
||||||
|
| | h | |
|
||||||
|
| | k | j |
|
||||||
|
| | l | |
|
||||||
|
| | m | |
|
||||||
|
|
||||||
|
And the ways
|
||||||
|
| nodes | oneway |
|
||||||
|
| ab | |
|
||||||
|
| fb | yes |
|
||||||
|
| bcd | yes |
|
||||||
|
| def | yes |
|
||||||
|
| fg | |
|
||||||
|
| gh | |
|
||||||
|
| hk | |
|
||||||
|
| gijk | |
|
||||||
|
| klm | |
|
||||||
|
|
||||||
|
When I route I should get
|
||||||
|
| waypoints | route |
|
||||||
|
| a,d,l,m | ab,bcd,def,fg,gh,hk,klm |
|
||||||
|
| a,f,h,m | ab,bcd,def,fg,gh,hk,klm |
|
||||||
|
| a,c,m | ab,bcd,def,fg,gh,hk,klm |
|
||||||
|
| a,d,h,m | ab,bcd,def,fg,gh,hk,klm |
|
||||||
|
| a,e,h,m | ab,bcd,def,fg,gh,hk,klm |
|
||||||
|
| a,m | ab,bcd,def,fg,gh,hk,klm |
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user