Skip to content

Commit f15285e

Browse files
Moritz KobitzschTheMarex
authored andcommitted
add test indicating missdetection of continuing on motorways
1 parent bae21f0 commit f15285e

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

features/guidance/motorway.feature

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,3 +261,23 @@ Feature: Motorway Guidance
261261
When I route I should get
262262
| waypoints | route | turns |
263263
| a,d | On,Hwy,Off,Off | depart,merge slight right,off ramp right,arrive |
264+
265+
#http://0.0.0.0:9966/?z=18&center=38.893323%2C-77.055117&loc=38.893551%2C-77.054833&loc=38.893112%2C-77.055536&hl=en&alt=0
266+
Scenario: Merging with same name
267+
Given the node map
268+
"""
269+
a - - -
270+
> c - d
271+
b
272+
"""
273+
274+
And the ways
275+
| nodes | name | ref | highway | oneway |
276+
| ac | | US 50 | motorway | yes |
277+
| bc | | I 66 | motorway | yes |
278+
| cd | | US 50; I 66 | motorway | yes |
279+
280+
When I route I should get
281+
| waypoints | route | turns |
282+
| a,d | , | depart,turn slight left,arrive |
283+
| b,d | , | depart,arrive |

0 commit comments

Comments
 (0)