• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Parsing test_joo.cs
2Testing Empty String and empty var
3Empty has no value assigned (ie, empty), Foo has a value, NotExist doesn't exist
4Some of these tests are pretty silly
5----------------------------------------------------------------------------------
6
7Testing  == ''
8[1] Empty == ''
9
10PASS
11
12[2] Foo == ''
13
14PASS
15
16[3] NotExist == ''
17
18PASS
19
20
21Testing  != ''
22[4] Empty != ''
23
24PASS
25
26[5] Foo != ''
27
28PASS
29
30[6] NotExist != ''
31
32PASS - Non existing var doesn't equal empty string
33
34
35Testing ?
36[7] ?Empty
37
38PASS
39
40[8] ?Foo
41
42PASS
43
44[9] ?NotExist
45
46PASS
47
48
49Testing !
50[10] !Empty
51
52PASS
53
54[11] !Foo
55
56PASS
57
58[12] !NotExist
59
60PASS
61
62
63Testing !?
64[13] !?Empty
65
66PASS
67
68[14] !?Foo
69
70PASS
71
72[15] !?NotExist
73
74PASS
75
76
77Testing ?! - Existance only works on a var, otherwise always returns
78true, so ?! is always true
79[16] ?!Empty
80
81PASS
82
83[17] ?!Foo
84
85PASS
86
87[18] ?!NotExist
88
89PASS
90
91
92Testing ? and == '' - boolean vs. equality? um... boolean is a number,
93so these are numeric evals, and empty string is 0
94[19] ?Empty == ''
95
96PASS - ELSE boolean true doesn't equal empty (1 != 0)
97
98[20] ?Foo == ''
99
100PASS - ELSE boolean true doesn't equal empty (1 != 0)
101
102[21] ?NotExist == ''
103
104PASS - IF boolean false equals empty (0 == 0)
105
106
107Testing ? and != '' - boolean vs. in-equality? um...
108[23] ?Empty != ''
109
110PASS - IF boolean true not equal empty (1 != 0)
111
112[24] ?Foo != ''
113
114PASS - IF boolean true not equal empty (1 != 0)
115
116[25] ?NotExist != ''
117
118PASS - ELSE boolean false equals empty (0 == 0)
119
120
121Testing !? and == '' - all boolean true equals empty
122[26] !?Empty == ''
123
124PASS - IF boolean true equals empty
125
126[27] !?Foo == ''
127
128PASS - IF boolean true equals empty
129
130[28] !?NotExist == ''
131
132PASS - ELSE boolean true doesn't equal empty
133
134
135Testing !? and != ''
136[29] !?Empty != ''
137
138PASS - ELSE boolean true equals empty
139
140[30] !?Foo != ''
141
142PASS - ELSE boolean true equals empty
143
144[31] !?NotExist != ''
145
146PASS - IF boolean true not equal empty
147
148