File: if-then-else-1.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 (27 lines) | stat: -rw-r--r-- 392 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
27

#
# Test for an if-else where a rule modifies the if expression
#

WAY 1
A=1
B=1

WAY 2
A=1
B=2

<<<lines>>>

if (B=1) then
   A=1 {set B=0}
   C!=* {set C=1}
else
	A=1 [0x2 resolution 24]		
end
C=1	[0x1 resolution 24]
 
<<<results>>>
NO-STRICT
WAY 1: Line 0x1, labels=[null, null, null, null], res=24-24 (1/1),(2/2),
WAY 2: Line 0x2, labels=[null, null, null, null], res=24-24 (1/1),(2/2),