@@ -0,0 +1,29 @@
|
||||
@routing @weight
|
||||
Feature: Choosing route based on length, speed, etc
|
||||
|
||||
Scenario: Pick the geometrically shortest route, way types being equal
|
||||
Given the nodes
|
||||
| | s | |
|
||||
| | t | |
|
||||
| a | | b |
|
||||
|
||||
And the ways
|
||||
| nodes |
|
||||
| atb |
|
||||
| asb |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route |
|
||||
| a | b | atb |
|
||||
| a | b | atb |
|
||||
|
||||
Scenario: Pick the fastest way type, lengths being equal
|
||||
Given the nodes
|
||||
| a | s |
|
||||
| p | b |
|
||||
|
||||
And the ways
|
||||
| nodes | highway |
|
||||
| apb | primary |
|
||||
| asb | secondary |
|
||||
|
||||
Reference in New Issue
Block a user