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