@@ -39,5 +39,64 @@ Feature: Fixed bugs, kept to check for regressions
3939 | de | yes |
4040
4141 When I route I should get
42- | from | to | route |
43- | 1 | 2 | bcd ,bcd |
42+ | from | to | route |
43+ | 1 | 2 | bcd ,bcd |
44+
45+ #############################
46+ # This test models the OSM map at the location for
47+ # https://github.com/Project-OSRM/osrm-backend/issues/5039
48+ #############################
49+ Scenario : Mixed Entry and Exit and segregated
50+ Given the profile file "car" initialized with
51+ """
52+ profile.properties.left_hand_driving = true
53+ """
54+ Given the node locations
55+ | node | lon | lat |
56+ | a | 171 .12889297029 | -42 .58425289548 |
57+ | b | 171 .1299357 | -42 .5849295 |
58+ | c | 171 .1295427 | -42 .5849385 |
59+ | d | 171 .1297356 | -42 .5852029 |
60+ | e | 171 .1296909 | -42 .5851986 |
61+ | f | 171 .1295097 | -42 .585007 |
62+ | g | 171 .1298225 | -42 .5851928 |
63+ | h | 171 .1300262 | -42 .5859122 |
64+ | i | 171 .1292651 | -42 .584698 |
65+ | j | 171 .1297209 | -42 .5848569 |
66+ | k | 171 .1297188 | -42 .5854056 |
67+ | l | 171 .1298326 | -42 .5857266 |
68+ | m | 171 .1298871 | -42 .5848922 |
69+ | n | 171 .1296505 | -42 .585189 |
70+ | o | 171 .1295206 | -42 .5850862 |
71+ | p | 171 .1296106 | -42 .5848862 |
72+ | q | 171 .1299784 | -42 .5850191 |
73+ | r | 171 .1298867 | -42 .5851671 |
74+ | s | 171 .1306955 | -42 .5845812 |
75+ | t | 171 .129525 | -42 .584807 |
76+ | u | 171 .1299705 | -42 .584984 |
77+ | v | 171 .1299067 | -42 .5849073 |
78+ | w | 171 .1302061 | -42 .5848173 |
79+ | x | 171 .12975 | -42 .5855753 |
80+ | y | 171 .129969 | -42 .585079 |
81+ | 1 | 171 .131511926651 | -42 .584306746421966 |
82+ | 2 | 171 .128743886947 | -42 .58414875714669 |
83+ And the ways
84+ | nodes | highway | maxspeed | name | ref | surface | junction | oneway |
85+ | ws | primary | 100 | Taramakau Highway | SH 6 | asphalt | | |
86+ | kxlh | trunk | | Otira Highway | SH 73 | | | |
87+ | ai | primary | 100 | Kumara Junction Highway | SH 6 | asphalt | | |
88+ | qyrgdenof | primary | 100 | Kumara Junction | | | roundabout | yes |
89+ | ke | trunk | | Otira Highway | SH 73 | | | yes |
90+ | itj | primary | 100 | Kumara Junction Highway | SH 6 | | | yes |
91+ | gk | trunk | | Otira Highway | SH 73 | | | yes |
92+ | fi | primary | 100 | Kumara Junction Highway | SH 6 | | | yes |
93+ | wq | primary | 100 | Taramakau Highway | SH 6 | | | yes |
94+ | vw | primary | 100 | Taramakau Highway | SH 6 | | | yes |
95+ | vbuq | primary | 100 | Kumara Junction | | | roundabout | yes |
96+ | jmv | primary | 100 | Kumara Junction | | | roundabout | yes |
97+ | fcpj | primary | 100 | Kumara Junction | | | roundabout | yes |
98+
99+ When I route I should get
100+ | waypoints | route | turns |
101+ | 1 ,2 | Taramakau Highway ,Kumara Junction Highway ,Kumara Junction Highway ,Kumara Junction Highway | depart ,Kumara Junction -exit -2 ,exit rotary slight left ,arrive |
102+
0 commit comments