Skip to content

Commit

Permalink
add tests for ferry durations
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisOSRM committed Sep 29, 2014
1 parent cc0bbc4 commit af02fc6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions features/car/ferry.feature
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ Feature: Car - Handle ferry routes
And the ways
| nodes | highway | route | duration |
| abc | primary | | |
| cde | | ferry | 06:15 |
| cde | | ferry | 00:01:00 |
| efg | primary | | |

When I route I should get
| from | to | route | modes | speed |
| a | g | abc,cde,efg | 1,2,1 | 6 km/h |
| b | f | abc,cde,efg | 1,2,1 | 6 km/h |
| from | to | route | modes | speed |
| a | g | abc,cde,efg | 1,2,1 | 24 km/h |
| b | f | abc,cde,efg | 1,2,1 | 19 km/h |
| c | e | cde | 2 | 12 km/h |
| e | c | cde | 2 | 12 km/h |

0 comments on commit af02fc6

Please sign in to comment.