Fix some via tests
This commit is contained in:
parent
5beaf695ed
commit
e4e85e6f7e
@ -14,7 +14,7 @@ Feature: Via points
|
|||||||
|
|
||||||
When I route I should get
|
When I route I should get
|
||||||
| waypoints | route |
|
| waypoints | route |
|
||||||
| a,b,c | abc,abc |
|
| a,b,c | abc,abc,abc,abc |
|
||||||
|
|
||||||
Scenario: Simple via point with core factor
|
Scenario: Simple via point with core factor
|
||||||
Given the contract extra arguments "--core 0.8"
|
Given the contract extra arguments "--core 0.8"
|
||||||
@ -27,9 +27,9 @@ Feature: Via points
|
|||||||
|
|
||||||
When I route I should get
|
When I route I should get
|
||||||
| waypoints | route |
|
| waypoints | route |
|
||||||
| a,b,c | abc,abc |
|
| a,b,c | abc,abc,abc,abc |
|
||||||
| c,b,a | abc,abc |
|
| c,b,a | abc,abc,abc,abc |
|
||||||
| c,b,a | abc,abc |
|
| c,b,a | abc,abc,abc,abc |
|
||||||
|
|
||||||
Scenario: Via point at a dead end
|
Scenario: Via point at a dead end
|
||||||
Given the node map
|
Given the node map
|
||||||
@ -43,9 +43,10 @@ Feature: Via points
|
|||||||
|
|
||||||
When I route I should get
|
When I route I should get
|
||||||
| waypoints | route |
|
| waypoints | route |
|
||||||
| a,d,c | abc,bd,bd,bd,abc |
|
| a,d,c | abc,bd,bd,bd,bd,abc,abc |
|
||||||
| c,d,a | abc,bd,bd,bd,abc |
|
| c,d,a | abc,bd,bd,bd,bd,abc,abc |
|
||||||
|
|
||||||
|
@mokob
|
||||||
Scenario: Multiple via points
|
Scenario: Multiple via points
|
||||||
Given the node map
|
Given the node map
|
||||||
| a | | | | e | f | g | |
|
| a | | | | e | f | g | |
|
||||||
@ -63,8 +64,8 @@ Feature: Via points
|
|||||||
|
|
||||||
When I route I should get
|
When I route I should get
|
||||||
| waypoints | route |
|
| waypoints | route |
|
||||||
| a,c,f | ab,bcd,bcd,de,efg |
|
| a,c,f | ab,bcd,bcd,bcd,de,efg,efg|
|
||||||
| a,c,f,h | ab,bcd,bcd,de,efg,efg,gh |
|
| a,c,f,h | ab,bcd,bcd,bcd,de,efg,efg,efg,gh,gh|
|
||||||
|
|
||||||
|
|
||||||
Scenario: Duplicate via point
|
Scenario: Duplicate via point
|
||||||
|
Loading…
Reference in New Issue
Block a user