-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test different forw/backw settings (@todo)
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@routing @opposite @todo | ||
Feature: Separate settings for forward/backward direction | ||
|
||
Background: | ||
Given the profile "testbot" | ||
|
||
@smallest | ||
Scenario: Going against the flow | ||
Given the node map | ||
| a | b | | ||
|
||
And the ways | ||
| nodes | highway | | ||
| ab | river | | ||
|
||
When I route I should get | ||
| from | to | route | distance | time | | ||
| a | b | ab | 100m | 10s | | ||
| b | a | ab | 100m | 20s | |
724e96f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A first implementation is working
724e96f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very cool!!
724e96f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The feature is implemented in a way that it will also allow maxspeed:forward and maxspeed:backward. A few tests would be cool for that.