Skip to content

Commit 86dd319

Browse files
karenzsheaoxidase
authored andcommitted
avoid testing self-intersecting way
1 parent 89d32ec commit 86dd319

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

features/testbot/matching.feature

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,8 @@ Feature: Basic Map Matching
687687

688688

689689
@match @testbot
690-
Scenario: Regression test - waypoints trimming too much geometry
690+
# Regression test for issue #4919
691+
Scenario: Regression test - non-uturn maneuver preferred over uturn
691692
Given the profile "testbot"
692693
Given a grid size of 10 meters
693694
Given the query options
@@ -697,15 +698,15 @@ Feature: Basic Map Matching
697698
e
698699
;
699700
;
700-
a-----b-----c
701+
a----hb-----c
701702
;
702703
;
703704
d
704705
"""
705706
And the ways
706707
| nodes |
707708
| abc |
708-
| bde |
709+
| dbe |
709710
Given the query options
710711
| waypoints | 0;2 |
711712
| overview | full |
@@ -715,3 +716,5 @@ Feature: Basic Map Matching
715716
| abc | 1,0.99973,1.00027,0.99973,1.000539,0.99973 | depart,arrive | Ok |
716717
| abd | 1,0.99973,1.00027,0.99973,1.00027,0.999461 | depart,turn right,arrive | Ok |
717718
| abe | 1,0.99973,1.00027,0.99973,1.00027,1 | depart,turn left,arrive | Ok |
719+
| ahd | 1,0.99973,1.00027,0.99973,1.00027,0.999461 | depart,turn right,arrive | Ok |
720+
| ahe | 1,0.99973,1.00027,0.99973,1.00027,1 | depart,turn left,arrive | Ok |

0 commit comments

Comments
 (0)