add ascii art to a set of tests

This commit is contained in:
Kajari 2016-10-19 13:08:48 -04:00 committed by Moritz Kobitzsch
parent c4b3cdfd80
commit 8c50a42ec4
5 changed files with 205 additions and 207 deletions

View File

@ -124,10 +124,10 @@ Feature: Turn Lane Guidance
Given the node map Given the node map
""" """
g f g f
| |
j h e j --- h - e
| |
a b c a --- b - c
i d i d
""" """
@ -154,21 +154,21 @@ Feature: Turn Lane Guidance
Given the node map Given the node map
""" """
g j g j
| |
| |
| |
| |
| |
f | |,f
e |,e
d ,d |
a b c a --------- b c |
/ | |
/ | |
/ | |
| | |
| | |
| | |
l h i l h i
""" """
@ -202,21 +202,21 @@ Feature: Turn Lane Guidance
Given the node map Given the node map
""" """
g j g j
| |
| |
| |
| |
| |
f | |,f
e |,e
d ,d |
a b c a --------- b c |
/ | |
/ | |
/ | |
| | |
| | |
| | |
l h i l h i
""" """

View File

@ -9,7 +9,7 @@ Feature: Continue Instructions
Given the node map Given the node map
""" """
c c
a b d a - b-d
""" """
And the ways And the ways
@ -26,7 +26,7 @@ Feature: Continue Instructions
Given the node map Given the node map
""" """
c c
a b d a - b-d
""" """
And the ways And the ways
@ -43,7 +43,7 @@ Feature: Continue Instructions
Given the node map Given the node map
""" """
c c
a b d a - b-d
e e
""" """
@ -62,7 +62,7 @@ Feature: Continue Instructions
Scenario: Road turning right Scenario: Road turning right
Given the node map Given the node map
""" """
a b d a - b-d
c c
""" """
@ -80,9 +80,9 @@ Feature: Continue Instructions
Given the node map Given the node map
""" """
c c
/
a b a - b
d `d
""" """
And the ways And the ways
@ -98,9 +98,9 @@ Feature: Continue Instructions
Scenario: Road turning slight right Scenario: Road turning slight right
Given the node map Given the node map
""" """
d ,d
a b a - b
\
c c
""" """
@ -117,11 +117,11 @@ Feature: Continue Instructions
Scenario: Road Loop Scenario: Road Loop
Given the node map Given the node map
""" """
f e f - e
| |
a b g a - b-g |
| |
c d c - d
""" """
And the ways And the ways

View File

@ -9,13 +9,13 @@ Feature: Slipways and Dedicated Turn Lanes
Given the node map Given the node map
""" """
e e
a b . . c d a b-----c d
`h . `--h |
` ||
1 ` 1||
. ||
f `f
. |
g g
""" """
@ -41,11 +41,11 @@ Feature: Slipways and Dedicated Turn Lanes
""" """
e e
a-b-----c-------------------------d a-b-----c-------------------------d
`h | `--h |
|| ||
1|| 1||
`| ||
f `f
| |
g g
""" """
@ -72,18 +72,18 @@ Feature: Slipways and Dedicated Turn Lanes
Given the node map Given the node map
""" """
e e
a b c d a-b----]c[-d
h `--h |
\|
|
|
|
|
|
|
f f
|
|
g g
""" """
@ -101,14 +101,14 @@ Feature: Slipways and Dedicated Turn Lanes
Given the node map Given the node map
""" """
e e
a b c d a-b----]c[d
h `--h |
\|
|
|
f f
|
|
g g
""" """
@ -125,15 +125,15 @@ Feature: Slipways and Dedicated Turn Lanes
Scenario: Inner city expressway with on road Scenario: Inner city expressway with on road
Given the node map Given the node map
""" """
a b . . . c g a b-------c g
`f . `--f |
` \|
. |
. |
d d
. |
. |
. |
e e
""" """
@ -157,12 +157,12 @@ Feature: Slipways and Dedicated Turn Lanes
Given the node map Given the node map
""" """
a f a f
| |
b e b e
|\ /|
| | |
g | g |
| |
c d c d
""" """
@ -180,11 +180,11 @@ Feature: Slipways and Dedicated Turn Lanes
Given the node map Given the node map
""" """
a f a f
| |
b e b e
g |\g/|
| |
| |
c d c d
""" """
@ -281,23 +281,23 @@ Feature: Slipways and Dedicated Turn Lanes
Scenario: Self-Loop Scenario: Self-Loop
Given the node map Given the node map
""" """
l k /-l-----k---\
j / `j--
m m \
i / i
/ \
| \
h | h
| |
n n |
| |
g | g
o o |
/ /
f | f
p /- p /
e / e
a b c d a ------- b --------------- c ----------------- d ---/
""" """
And the ways And the ways
@ -316,23 +316,23 @@ Feature: Slipways and Dedicated Turn Lanes
Scenario: Self-Loop - Bidirectional Scenario: Self-Loop - Bidirectional
Given the node map Given the node map
""" """
l k /-l-----k---\
j / `j--
m m \
i / i
/ \
| \
h | h
| |
n n |
| |
g | g
o o |
/ /
f | f
p /- p /
e / e
a b c d a ------- b --------------- c ----------------- d ---/
""" """
And the ways And the ways
@ -349,31 +349,30 @@ Feature: Slipways and Dedicated Turn Lanes
Given the node map Given the node map
""" """
j j
a b c d a-b ----------------------------------------- c ------------d
\ |
\ |
\ |
\ |
\ |
e e |
\ |
\ |
\ |
\ |
\ |
\ |
\ |
\ |
\ |
\ |
\ |
\ |
\ |
\ |
1 \ 1
`---------- f ------- g ----------\
f g | \
i h i h
""" """
@ -398,20 +397,20 @@ Feature: Slipways and Dedicated Turn Lanes
Scenario: Turn Instead of Ramp Scenario: Turn Instead of Ramp
Given the node map Given the node map
""" """
f /--------------------f
g h g-----------h--\ |
d e d-----e
i c j i c-----------j--/
| |
| |
| |
| |
| |
\ /
\ /
\ /
b b
|
a a
""" """

View File

@ -8,8 +8,8 @@ Feature: Motorway Guidance
Scenario: Ramp Exit Right Scenario: Ramp Exit Right
Given the node map Given the node map
""" """
a b c d e a-b-c-d-e
f g `--f-g
""" """
And the ways And the ways
@ -25,9 +25,9 @@ Feature: Motorway Guidance
Scenario: Ramp Exit Right Curved Right Scenario: Ramp Exit Right Curved Right
Given the node map Given the node map
""" """
a b c a-b-c
f d `f`d
g e `g`e
""" """
And the ways And the ways
@ -43,12 +43,11 @@ Feature: Motorway Guidance
Scenario: Ramp Exit Right Curved Left Scenario: Ramp Exit Right Curved Left
Given the node map Given the node map
""" """
e ,e
d g ,d,g
a b c f a-b-c-f
""" """
And the ways And the ways
| nodes | highway | oneway | | nodes | highway | oneway |
| abcde | motorway | | | abcde | motorway | |
@ -63,8 +62,8 @@ Feature: Motorway Guidance
Scenario: Ramp Exit Left Scenario: Ramp Exit Left
Given the node map Given the node map
""" """
f g /--f-g
a b c d e a-b-c-d-e
""" """
And the ways And the ways
@ -80,9 +79,9 @@ Feature: Motorway Guidance
Scenario: Ramp Exit Left Curved Left Scenario: Ramp Exit Left Curved Left
Given the node map Given the node map
""" """
g e ,g,e
f d ,f,d
a b c a-b-c
""" """
And the ways And the ways
@ -98,9 +97,9 @@ Feature: Motorway Guidance
Scenario: Ramp Exit Left Curved Right Scenario: Ramp Exit Left Curved Right
Given the node map Given the node map
""" """
a b c f a-b-c-f
d g `d`g
e `e
""" """
And the ways And the ways
@ -116,8 +115,8 @@ Feature: Motorway Guidance
Scenario: On Ramp Right Scenario: On Ramp Right
Given the node map Given the node map
""" """
a b c d e a-b-c-d-e
f g f-g---'
""" """
And the ways And the ways
@ -133,8 +132,8 @@ Feature: Motorway Guidance
Scenario: On Ramp Left Scenario: On Ramp Left
Given the node map Given the node map
""" """
f g f-g---,
a b c d e a-b-c-d-e
""" """
And the ways And the ways
@ -150,9 +149,9 @@ Feature: Motorway Guidance
Scenario: Highway Fork Scenario: Highway Fork
Given the node map Given the node map
""" """
d e /--d-e
a b c a-b-c
f g \--f-g
""" """
And the ways And the ways
@ -168,9 +167,9 @@ Feature: Motorway Guidance
Scenario: Fork After Ramp Scenario: Fork After Ramp
Given the node map Given the node map
""" """
d e /--d-e
a b c a-b-c
f g \--f-g
""" """
And the ways And the ways
@ -187,8 +186,8 @@ Feature: Motorway Guidance
Scenario: On And Off Ramp Right Scenario: On And Off Ramp Right
Given the node map Given the node map
""" """
a b c d e a-b---c---d-e
f g h i f-g--/ \--h i
""" """
And the ways And the ways
@ -207,8 +206,8 @@ Feature: Motorway Guidance
Scenario: On And Off Ramp Left Scenario: On And Off Ramp Left
Given the node map Given the node map
""" """
f g h i f-g--\/---h-i
a b c d e a-b---c---d-e
""" """
And the ways And the ways
@ -227,9 +226,9 @@ Feature: Motorway Guidance
Scenario: Merging Motorways Scenario: Merging Motorways
Given the node map Given the node map
""" """
e e\
a b c a-b-c
d d/
""" """
And the ways And the ways
@ -246,8 +245,8 @@ Feature: Motorway Guidance
Scenario: Handle 90 degree off ramps correctly Scenario: Handle 90 degree off ramps correctly
Given the node map Given the node map
""" """
a a\
x b c y x-b---c-y
d d
""" """

View File

@ -8,8 +8,8 @@ Feature: Suppressed Turns
Scenario: Do not announce passing a exit ramp Scenario: Do not announce passing a exit ramp
Given the node map Given the node map
""" """
a b c d e a-b-c-d-e
f g \---f-g
""" """
And the ways And the ways
@ -24,7 +24,7 @@ Feature: Suppressed Turns
Scenario: Do not announce reference changes Scenario: Do not announce reference changes
Given the node map Given the node map
""" """
a b c d e f a-b-c-d-e-f
""" """
And the ways And the ways
@ -43,7 +43,7 @@ Feature: Suppressed Turns
Scenario: Don't Announce Turn on following major road class -- service Scenario: Don't Announce Turn on following major road class -- service
Given the node map Given the node map
""" """
a b d a-b-d
c c
""" """
@ -59,7 +59,7 @@ Feature: Suppressed Turns
Scenario: Don't Announce Turn on following major road class -- residential Scenario: Don't Announce Turn on following major road class -- residential
Given the node map Given the node map
""" """
a b d a-b-d
c c
""" """