File: continue.test

package info (click to toggle)
mkgmap 0.0.0%2Bsvn4262-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 11,544 kB
  • sloc: java: 71,295; xml: 1,659; python: 713; sh: 254; makefile: 150; perl: 31
file content (26 lines) | stat: -rw-r--r-- 787 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Test of continue with and without with_actions.
#

WAY 1
highway=primary
abc=yes

WAY 2
highway=secondary
abc=yes

<<<lines>>>
highway=primary & abc=yes { set oneway=reverse; } [0x1 road_class=1 continue]
highway=primary [0x2 road_class=1]

highway=secondary & abc=yes { set oneway=reverse; } [0x3 road_class=2 continue
with_actions]
highway=secondary [0x4 road_class=2]

<<<results>>>
WAY 1: Road 0x1, labels=[null, null, null, null], res=24-24 oneway (2/2),(1/1), road class=1 speed=0
WAY 1: Road 0x2, labels=[null, null, null, null], res=24-24 (1/1),(2/2), road class=1 speed=0

WAY 2: Road 0x3, labels=[null, null, null, null], res=24-24 oneway (2/2),(1/1), road class=2 speed=0
WAY 2: Road 0x4, labels=[null, null, null, null], res=24-24 oneway (2/2),(1/1), road class=2 speed=0