-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
symbolize local access penalty, remove explicit tile checks
- Loading branch information
1 parent
0ee247f
commit 2e1b976
Showing
5 changed files
with
47 additions
and
8 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
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,36 @@ | ||
@routing @car @hov | ||
Feature: Car - Handle driving | ||
|
||
Background: | ||
Given the profile "car" | ||
And a grid size of 100 meters | ||
|
||
Scenario: Car - Avoid hov when not on hov | ||
Given the node map | ||
""" | ||
b=========c========================e====j | ||
~ ~ ~ | ||
a ~ f----m | ||
| i | | ||
| | ----------------l | ||
| | / | ||
g_______________h______k_____n | ||
""" | ||
|
||
And the ways | ||
| nodes | highway | hov | | ||
| ab | motorway_link | | | ||
| bcej | motorway | designated | | ||
| ag | primary | | | ||
| ghkn | primary | | | ||
| ih | primary | | | ||
| kl | secondary | | | ||
| lf | secondary | | | ||
| ci | motorway_link | | | ||
| ef | motorway_link | | | ||
| fm | secondary | | | ||
|
||
When I route I should get | ||
| from | to | route | | ||
| a | m | ag,ghkn,kl,lf,fm,fm | | ||
| c | m | bcej,ef,fm,fm | |
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
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
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