Skip to content

Commit

Permalink
Add test for matching across unsnappable ways.
Browse files Browse the repository at this point in the history
  • Loading branch information
danpat committed Dec 13, 2018
1 parent 850b4b8 commit 07da87c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions features/car/ferry.feature
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,12 @@ Feature: Car - Handle ferry routes
When I route I should get
| from | to | route | modes | time |
| c | d | bcde,bcde | ferry,ferry | 600s |

Given the query options
| geometries | geojson |
| overview | full |

# Note that matching *should* work across unsnappable ferries
When I match I should get
| trace | geometry | duration |
| abcdef| 1,1,1.000899,1,1.000899,1,1.002697,1,1.002697,1,1.003596,1,1.003596,1,1.005394,1,1.005394,1,1.006293,1 | 610.9 |

0 comments on commit 07da87c

Please sign in to comment.