| 1 | [ |
| 2 | { |
| 3 | "id": "1156-range-function:001:decision001", |
| 4 | "expression": "2 in range(\"[1..3]\")", |
| 5 | "expected": true, |
| 6 | "expected_type": "boolean", |
| 7 | "comparison": "exact", |
| 8 | "deviation": null |
| 9 | }, |
| 10 | { |
| 11 | "id": "1156-range-function:001_a:decision001_a", |
| 12 | "expression": "range(\"[1..3]\") instance of range<number>", |
| 13 | "expected": true, |
| 14 | "expected_type": "boolean", |
| 15 | "comparison": "exact", |
| 16 | "deviation": null |
| 17 | }, |
| 18 | { |
| 19 | "id": "1156-range-function:001_b:decision001_b", |
| 20 | "expression": "range(string(\"[1..3]\")) instance of range<number>", |
| 21 | "expected": true, |
| 22 | "expected_type": "boolean", |
| 23 | "comparison": "exact", |
| 24 | "deviation": null |
| 25 | }, |
| 26 | { |
| 27 | "id": "1156-range-function:001_d:decision001_d", |
| 28 | "expression": "range(\"[@\\\"1970-01-01\\\"..@\\\"1970-01-02\\\"]\") instance of range<date>", |
| 29 | "expected": true, |
| 30 | "expected_type": "boolean", |
| 31 | "comparison": "exact", |
| 32 | "deviation": null |
| 33 | }, |
| 34 | { |
| 35 | "id": "1156-range-function:001_e:decision001_e", |
| 36 | "expression": "range(\"[@\\\"1970-01-01T00:00:00\\\"..@\\\"1970-01-02T00:00:00\\\"]\") instance of range<date and time>", |
| 37 | "expected": true, |
| 38 | "expected_type": "boolean", |
| 39 | "comparison": "exact", |
| 40 | "deviation": null |
| 41 | }, |
| 42 | { |
| 43 | "id": "1156-range-function:001_g:decision001_g", |
| 44 | "expression": "range(\"[@\\\"00:00:00\\\"..@\\\"00:00:00\\\"]\") instance of range<time>", |
| 45 | "expected": true, |
| 46 | "expected_type": "boolean", |
| 47 | "comparison": "exact", |
| 48 | "deviation": null |
| 49 | }, |
| 50 | { |
| 51 | "id": "1156-range-function:002:decision002", |
| 52 | "expression": "2 in range(string(\"[1..3]\"))", |
| 53 | "expected": true, |
| 54 | "expected_type": "boolean", |
| 55 | "comparison": "exact", |
| 56 | "deviation": null |
| 57 | }, |
| 58 | { |
| 59 | "id": "1156-range-function:003_a:decision003_a", |
| 60 | "expression": "range(\"[18..21]\") = [18..21]", |
| 61 | "expected": true, |
| 62 | "expected_type": "boolean", |
| 63 | "comparison": "exact", |
| 64 | "deviation": null |
| 65 | }, |
| 66 | { |
| 67 | "id": "1156-range-function:003_b:decision003_b", |
| 68 | "expression": "range(\"(18..21]\") = (18..21]", |
| 69 | "expected": true, |
| 70 | "expected_type": "boolean", |
| 71 | "comparison": "exact", |
| 72 | "deviation": null |
| 73 | }, |
| 74 | { |
| 75 | "id": "1156-range-function:003_c:decision003_c", |
| 76 | "expression": "range(\"]18..21]\") = ]18..21]", |
| 77 | "expected": true, |
| 78 | "expected_type": "boolean", |
| 79 | "comparison": "exact", |
| 80 | "deviation": null |
| 81 | }, |
| 82 | { |
| 83 | "id": "1156-range-function:003_d:decision003_d", |
| 84 | "expression": "range(\"[18..21)\") = [18..21)", |
| 85 | "expected": true, |
| 86 | "expected_type": "boolean", |
| 87 | "comparison": "exact", |
| 88 | "deviation": null |
| 89 | }, |
| 90 | { |
| 91 | "id": "1156-range-function:003_e:decision003_e", |
| 92 | "expression": "range(\"[18..21[\") = [18..21[", |
| 93 | "expected": true, |
| 94 | "expected_type": "boolean", |
| 95 | "comparison": "exact", |
| 96 | "deviation": null |
| 97 | }, |
| 98 | { |
| 99 | "id": "1156-range-function:004_e:decision004_e", |
| 100 | "expression": "range(\"[..2]\")", |
| 101 | "expected": null, |
| 102 | "expected_type": "null", |
| 103 | "comparison": "exact", |
| 104 | "deviation": null |
| 105 | }, |
| 106 | { |
| 107 | "id": "1156-range-function:004_f:decision004_f", |
| 108 | "expression": "range(\"[1..]\")", |
| 109 | "expected": null, |
| 110 | "expected_type": "null", |
| 111 | "comparison": "exact", |
| 112 | "deviation": null |
| 113 | }, |
| 114 | { |
| 115 | "id": "1156-range-function:005_b:decision005_b", |
| 116 | "expression": "range(\"[@\\\"1970-01-01\\\"..@\\\"1970-01-02\\\"]\") = [@\"1970-01-01\"..@\"1970-01-02\"]", |
| 117 | "expected": true, |
| 118 | "expected_type": "boolean", |
| 119 | "comparison": "exact", |
| 120 | "deviation": null |
| 121 | }, |
| 122 | { |
| 123 | "id": "1156-range-function:005_c:decision005_c", |
| 124 | "expression": "range(\"[@\\\"1970-01-01T00:00:00\\\"..@\\\"1970-01-02T00:00:00\\\"]\") =\n [@\"1970-01-01T00:00:00\"..@\"1970-01-02T00:00:00\"]", |
| 125 | "expected": true, |
| 126 | "expected_type": "boolean", |
| 127 | "comparison": "exact", |
| 128 | "deviation": null |
| 129 | }, |
| 130 | { |
| 131 | "id": "1156-range-function:005_d:decision005_d", |
| 132 | "expression": "range(\"[@\\\"00:00:00\\\"..@\\\"00:00:00\\\"]\") = [@\"00:00:00\"..@\"00:00:00\"]", |
| 133 | "expected": true, |
| 134 | "expected_type": "boolean", |
| 135 | "comparison": "exact", |
| 136 | "deviation": null |
| 137 | }, |
| 138 | { |
| 139 | "id": "1156-range-function:006:decision006", |
| 140 | "expression": "range(\" [ 1 .. 3 ] \") = [1..3]", |
| 141 | "expected": true, |
| 142 | "expected_type": "boolean", |
| 143 | "comparison": "exact", |
| 144 | "deviation": null |
| 145 | }, |
| 146 | { |
| 147 | "id": "1156-range-function:007_a:decision007_a", |
| 148 | "expression": "range(\"[date(\\\"1970-01-01\\\")..date(\\\"1970-01-02\\\")]\") = [date(\"1970-01-01\")..date(\"1970-01-02\")]", |
| 149 | "expected": true, |
| 150 | "expected_type": "boolean", |
| 151 | "comparison": "exact", |
| 152 | "deviation": null |
| 153 | }, |
| 154 | { |
| 155 | "id": "1156-range-function:007_b:decision007_b", |
| 156 | "expression": "range(\"[date(string(\\\"1970-01-01\\\"))..date(\\\"1970-01-02\\\")]\")", |
| 157 | "expected": null, |
| 158 | "expected_type": "null", |
| 159 | "comparison": "exact", |
| 160 | "deviation": null |
| 161 | }, |
| 162 | { |
| 163 | "id": "1156-range-function:007_c:decision007_c", |
| 164 | "expression": "range(\"[date(input_001)..date(\\\"1970-01-02\\\")]\")", |
| 165 | "expected": null, |
| 166 | "expected_type": "null", |
| 167 | "comparison": "exact", |
| 168 | "deviation": null, |
| 169 | "context": { |
| 170 | "input_001": "1970-01-01" |
| 171 | } |
| 172 | }, |
| 173 | { |
| 174 | "id": "1156-range-function:008_a:decision008_a", |
| 175 | "expression": "range(\"[date and time(\\\"1970-01-01T00:00:00\\\")..@\\\"1970-01-02T00:00:00\\\"]\") =\n [@\"1970-01-01T00:00:00\"..@\"1970-01-02T00:00:00\"]", |
| 176 | "expected": true, |
| 177 | "expected_type": "boolean", |
| 178 | "comparison": "exact", |
| 179 | "deviation": null |
| 180 | }, |
| 181 | { |
| 182 | "id": "1156-range-function:008_b:decision008_b", |
| 183 | "expression": "range(\"[date and time(string(\\\"1970-01-01T00:00:00\\\"))..@\\\"1970-01-02T00:00:00\\\"]\")", |
| 184 | "expected": null, |
| 185 | "expected_type": "null", |
| 186 | "comparison": "exact", |
| 187 | "deviation": null |
| 188 | }, |
| 189 | { |
| 190 | "id": "1156-range-function:008_c:decision008_c", |
| 191 | "expression": "range(\"[date and time(input_001)..@\\\"1970-01-02T00:00:00\\\"]\")", |
| 192 | "expected": null, |
| 193 | "expected_type": "null", |
| 194 | "comparison": "exact", |
| 195 | "deviation": null, |
| 196 | "context": { |
| 197 | "input_001": "1970-01-01T00:00:00" |
| 198 | } |
| 199 | }, |
| 200 | { |
| 201 | "id": "1156-range-function:009_a:decision009_a", |
| 202 | "expression": "range(\"[time(\\\"00:00:00\\\")..@\\\"00:00:00\\\"]\") = [@\"00:00:00\"..@\"00:00:00\"]", |
| 203 | "expected": true, |
| 204 | "expected_type": "boolean", |
| 205 | "comparison": "exact", |
| 206 | "deviation": null |
| 207 | }, |
| 208 | { |
| 209 | "id": "1156-range-function:009_b:decision009_b", |
| 210 | "expression": "range(\"[time(string(\\\"00:00:00\\\"))..@\\\"00:00:00\\\"]\")", |
| 211 | "expected": null, |
| 212 | "expected_type": "null", |
| 213 | "comparison": "exact", |
| 214 | "deviation": null |
| 215 | }, |
| 216 | { |
| 217 | "id": "1156-range-function:009_c:decision009_c", |
| 218 | "expression": "range(\"[time(input_001)..@\\\"00:00:00\\\"]\")", |
| 219 | "expected": null, |
| 220 | "expected_type": "null", |
| 221 | "comparison": "exact", |
| 222 | "deviation": null, |
| 223 | "context": { |
| 224 | "input_001": "00:00:00" |
| 225 | } |
| 226 | }, |
| 227 | { |
| 228 | "id": "1156-range-function:011:decision011", |
| 229 | "expression": "range(from: \"[1..3]\") = [1..3]", |
| 230 | "expected": true, |
| 231 | "expected_type": "boolean", |
| 232 | "comparison": "exact", |
| 233 | "deviation": null |
| 234 | }, |
| 235 | { |
| 236 | "id": "1156-range-function:012:decision012", |
| 237 | "expression": "range(fron: \"[1..3]\")", |
| 238 | "expected": null, |
| 239 | "expected_type": "null", |
| 240 | "comparison": "exact", |
| 241 | "deviation": null |
| 242 | }, |
| 243 | { |
| 244 | "id": "1156-range-function:013_a:decision013_a", |
| 245 | "expression": "range(\"[1..3]\", \"foo\")", |
| 246 | "expected": null, |
| 247 | "expected_type": "null", |
| 248 | "comparison": "exact", |
| 249 | "deviation": null |
| 250 | }, |
| 251 | { |
| 252 | "id": "1156-range-function:013_b:decision013_b", |
| 253 | "expression": "range()", |
| 254 | "expected": null, |
| 255 | "expected_type": "null", |
| 256 | "comparison": "exact", |
| 257 | "deviation": null |
| 258 | }, |
| 259 | { |
| 260 | "id": "1156-range-function:014:decision014", |
| 261 | "expression": "range([1..3])", |
| 262 | "expected": null, |
| 263 | "expected_type": "null", |
| 264 | "comparison": "exact", |
| 265 | "deviation": null |
| 266 | }, |
| 267 | { |
| 268 | "id": "1156-range-function:015_a:decision015_a", |
| 269 | "expression": "range(\"\")", |
| 270 | "expected": null, |
| 271 | "expected_type": "null", |
| 272 | "comparison": "exact", |
| 273 | "deviation": null |
| 274 | }, |
| 275 | { |
| 276 | "id": "1156-range-function:015_b:decision015_b", |
| 277 | "expression": "range(\" \")", |
| 278 | "expected": null, |
| 279 | "expected_type": "null", |
| 280 | "comparison": "exact", |
| 281 | "deviation": null |
| 282 | }, |
| 283 | { |
| 284 | "id": "1156-range-function:016:decision016", |
| 285 | "expression": "range(string(\"\"))", |
| 286 | "expected": null, |
| 287 | "expected_type": "null", |
| 288 | "comparison": "exact", |
| 289 | "deviation": null |
| 290 | }, |
| 291 | { |
| 292 | "id": "1156-range-function:017:decision017", |
| 293 | "expression": "range(\">=10\")", |
| 294 | "expected": null, |
| 295 | "expected_type": "null", |
| 296 | "comparison": "exact", |
| 297 | "deviation": null |
| 298 | }, |
| 299 | { |
| 300 | "id": "1156-range-function:019_a:decision019_a", |
| 301 | "expression": "range(\"[@\\\"1970-01-01\\\"..@\\\"1970-01-02T00:00:00\\\"]\")", |
| 302 | "expected": null, |
| 303 | "expected_type": "null", |
| 304 | "comparison": "exact", |
| 305 | "deviation": null |
| 306 | }, |
| 307 | { |
| 308 | "id": "1156-range-function:019_b:decision019_b", |
| 309 | "expression": "range(\"[@\\\"1970-01-01T00:00:00\\\"..@\\\"1970-01-02\\\"]\")", |
| 310 | "expected": null, |
| 311 | "expected_type": "null", |
| 312 | "comparison": "exact", |
| 313 | "deviation": null |
| 314 | }, |
| 315 | { |
| 316 | "id": "1156-range-function:020:decision020", |
| 317 | "expression": "range(\"[3..1]\")", |
| 318 | "expected": null, |
| 319 | "expected_type": "null", |
| 320 | "comparison": "exact", |
| 321 | "deviation": null |
| 322 | }, |
| 323 | { |
| 324 | "id": "1156-range-function:021:decision021", |
| 325 | "expression": "range(\"[@\\\"1970-01-02\\\"..@\\\"1970-01-01\\\"]\")", |
| 326 | "expected": null, |
| 327 | "expected_type": "null", |
| 328 | "comparison": "exact", |
| 329 | "deviation": null |
| 330 | }, |
| 331 | { |
| 332 | "id": "1156-range-function:022:decision022", |
| 333 | "expression": "range(\"[@\\\"1970-01-02T00:00:00\\\"..@\\\"1970-01-01T00:00:00\\\"]\")", |
| 334 | "expected": null, |
| 335 | "expected_type": "null", |
| 336 | "comparison": "exact", |
| 337 | "deviation": null |
| 338 | }, |
| 339 | { |
| 340 | "id": "1156-range-function:026:decision026", |
| 341 | "expression": "range(\"[@\\\"02:00:00\\\"..@\\\"01:00:00\\\"]\")", |
| 342 | "expected": null, |
| 343 | "expected_type": "null", |
| 344 | "comparison": "exact", |
| 345 | "deviation": null |
| 346 | }, |
| 347 | { |
| 348 | "id": "1156-range-function:027:decision027", |
| 349 | "expression": "range(\"[null..null]\")", |
| 350 | "expected": null, |
| 351 | "expected_type": "null", |
| 352 | "comparison": "exact", |
| 353 | "deviation": null |
| 354 | } |
| 355 | ] |