Skip to content

Commit

Permalink
avoid testing self-intersecting way
Browse files Browse the repository at this point in the history
  • Loading branch information
karenzshea authored and oxidase committed Feb 28, 2018
1 parent c048a36 commit db60855
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions features/testbot/matching.feature
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,8 @@ Feature: Basic Map Matching


@match @testbot
Scenario: Regression test - waypoints trimming too much geometry
# Regression test for issue #4919
Scenario: Regression test - non-uturn maneuver preferred over uturn
Given the profile "testbot"
Given a grid size of 10 meters
Given the query options
Expand All @@ -697,15 +698,15 @@ Feature: Basic Map Matching
e
;
;
a-----b-----c
a----hb-----c
;
;
d
"""
And the ways
| nodes |
| abc |
| bde |
| dbe |
Given the query options
| waypoints | 0;2 |
| overview | full |
Expand All @@ -715,3 +716,5 @@ Feature: Basic Map Matching
| abc | 1,0.99973,1.00027,0.99973,1.000539,0.99973 | depart,arrive | Ok |
| abd | 1,0.99973,1.00027,0.99973,1.00027,0.999461 | depart,turn right,arrive | Ok |
| abe | 1,0.99973,1.00027,0.99973,1.00027,1 | depart,turn left,arrive | Ok |
| ahd | 1,0.99973,1.00027,0.99973,1.00027,0.999461 | depart,turn right,arrive | Ok |
| ahe | 1,0.99973,1.00027,0.99973,1.00027,1 | depart,turn left,arrive | Ok |

0 comments on commit db60855

Please sign in to comment.