1
2<?cs var:-1 ?>
3
4<?cs if:-1 == -1 ?>
5  CORRECT: -1 == -1
6<?cs else ?>
7  ERROR: -1 should equal -1
8<?cs /if ?>
9
10<?cs if:-1 ?>
11  CORRECT: -1 is boolean true
12<?cs else ?>
13  ERROR : -1 should be boolean true
14<?cs /if ?>
15
16<?cs if:#-1 ?>
17  CORRECT: #-1 is boolean true
18<?cs else ?>
19  ERROR : #-1 should be boolean true
20<?cs /if ?>
21
22<?cs if:0 ?>
23  ERROR: 0 should be boolean false
24<?cs else ?>
25  CORRECT: 0 is boolean false
26<?cs /if ?>
27
28<?cs if:00 ?>
29  ERROR: 00 should be boolean false
30<?cs else ?>
31  CORRECT: 00 is boolean false
32<?cs /if ?>
33
34<?cs if:0x15 == 21 ?>
35  CORRECT: 0x15 (hex) == 21
36<?cs else ?>
37  ERROR: 0x15 (hex) should equal 21
38<?cs /if ?>
39
40<?cs if:0x15 ?>
41  CORRECT: 0x15 is boolean true
42<?cs else ?>
43  ERROR: 0x15 should be boolean true
44<?cs /if ?>
45
46<?cs if:(3*2)+4 == 10 ?>
47  CORRECT: (3*2)+4 does equal 10
48<?cs else ?>
49  ERROR: (3*2)+4 should equal 10
50<?cs /if ?>
51
52<?cs if:Days[0] + 2 == 2 ?>
53  CORRECT: 0 + 2 == 2
54<?cs else ?>
55  ERROR: 0 + 2 should equal 2
56<?cs /if ?>
57