Skip to content

Commit

Permalink
update turn restrictions tests to use oneway streets, to avoid u-turns
Browse files Browse the repository at this point in the history
  • Loading branch information
emiltin committed Mar 5, 2012
1 parent b0ecb86 commit 8b2c003
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 193 deletions.
1 change: 0 additions & 1 deletion features/distance.feature
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ Feature: Distance calculation
| a | c | abc | 2000000 |
| c | a | abc | 2000000 |

@a
Scenario: Angles at 1000km scale
Given a grid size of 1000 meters
Given the nodes
Expand Down
17 changes: 0 additions & 17 deletions features/oneway.feature
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,6 @@ Feature: Oneway streets
| a | b | ab |
| b | a | bc,cd,da |

Scenario: Avoid oneway traps
Given the nodes
| | x | |
| a | b | c |
| | y | |

And the ways
| nodes | oneway |
| abc | |
| bx | yes |
| yb | -1 |

When I route I should get
| from | to | route |
| b | x | |
| b | y | |

Scenario: Handle various oneway tag values
Given the speedprofile "bicycle"
Then routability should be
Expand Down
Loading

0 comments on commit 8b2c003

Please sign in to comment.