| 1 | [ |
| 2 | { |
| 3 | "id": "0074-feel-properties:context_001:context_001", |
| 4 | "expression": "{a: \"foo\"}.a", |
| 5 | "expected": "foo", |
| 6 | "expected_type": "string", |
| 7 | "comparison": "exact", |
| 8 | "deviation": null |
| 9 | }, |
| 10 | { |
| 11 | "id": "0074-feel-properties:dateTime_001:dateTime_001", |
| 12 | "expression": "date and time(\"2018-12-10T10:30:01\").year", |
| 13 | "expected": 2018.0, |
| 14 | "expected_type": "number", |
| 15 | "comparison": "f64_epsilon", |
| 16 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 17 | "epsilon": 1e-08 |
| 18 | }, |
| 19 | { |
| 20 | "id": "0074-feel-properties:dateTime_002:dateTime_002", |
| 21 | "expression": "date and time(\"2018-12-10T10:30:01\").month", |
| 22 | "expected": 12.0, |
| 23 | "expected_type": "number", |
| 24 | "comparison": "f64_epsilon", |
| 25 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 26 | "epsilon": 1e-08 |
| 27 | }, |
| 28 | { |
| 29 | "id": "0074-feel-properties:dateTime_003:dateTime_003", |
| 30 | "expression": "date and time(\"2018-12-10T10:30:01\").day", |
| 31 | "expected": 10.0, |
| 32 | "expected_type": "number", |
| 33 | "comparison": "f64_epsilon", |
| 34 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 35 | "epsilon": 1e-08 |
| 36 | }, |
| 37 | { |
| 38 | "id": "0074-feel-properties:dateTime_004:dateTime_004", |
| 39 | "expression": "date and time(\"2018-12-10T10:30:01\").weekday", |
| 40 | "expected": 1.0, |
| 41 | "expected_type": "number", |
| 42 | "comparison": "f64_epsilon", |
| 43 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 44 | "epsilon": 1e-08 |
| 45 | }, |
| 46 | { |
| 47 | "id": "0074-feel-properties:dateTime_005:dateTime_005", |
| 48 | "expression": "date and time(\"2018-12-10T10:30:01\").hour", |
| 49 | "expected": 10.0, |
| 50 | "expected_type": "number", |
| 51 | "comparison": "f64_epsilon", |
| 52 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 53 | "epsilon": 1e-08 |
| 54 | }, |
| 55 | { |
| 56 | "id": "0074-feel-properties:dateTime_005_a:dateTime_005_a", |
| 57 | "expression": "date and time(\"2018-12-10\").hour", |
| 58 | "expected": 0.0, |
| 59 | "expected_type": "number", |
| 60 | "comparison": "f64_epsilon", |
| 61 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 62 | "epsilon": 1e-08 |
| 63 | }, |
| 64 | { |
| 65 | "id": "0074-feel-properties:dateTime_006:dateTime_006", |
| 66 | "expression": "date and time(\"2018-12-10T10:30:01\").minute", |
| 67 | "expected": 30.0, |
| 68 | "expected_type": "number", |
| 69 | "comparison": "f64_epsilon", |
| 70 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 71 | "epsilon": 1e-08 |
| 72 | }, |
| 73 | { |
| 74 | "id": "0074-feel-properties:dateTime_006_a:dateTime_006_a", |
| 75 | "expression": "date and time(\"2018-12-10\").minute", |
| 76 | "expected": 0.0, |
| 77 | "expected_type": "number", |
| 78 | "comparison": "f64_epsilon", |
| 79 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 80 | "epsilon": 1e-08 |
| 81 | }, |
| 82 | { |
| 83 | "id": "0074-feel-properties:dateTime_007:dateTime_007", |
| 84 | "expression": "date and time(\"2018-12-10T10:30:01\").second", |
| 85 | "expected": 1.0, |
| 86 | "expected_type": "number", |
| 87 | "comparison": "f64_epsilon", |
| 88 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 89 | "epsilon": 1e-08 |
| 90 | }, |
| 91 | { |
| 92 | "id": "0074-feel-properties:dateTime_007_a:dateTime_007_a", |
| 93 | "expression": "date and time(\"2018-12-10\").second", |
| 94 | "expected": 0.0, |
| 95 | "expected_type": "number", |
| 96 | "comparison": "f64_epsilon", |
| 97 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 98 | "epsilon": 1e-08 |
| 99 | }, |
| 100 | { |
| 101 | "id": "0074-feel-properties:dateTime_008:dateTime_008", |
| 102 | "expression": "date and time(\"2018-12-10T10:30:00+05:00\").time offset", |
| 103 | "expected": "PT5H", |
| 104 | "expected_type": "duration", |
| 105 | "comparison": "exact", |
| 106 | "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects." |
| 107 | }, |
| 108 | { |
| 109 | "id": "0074-feel-properties:dateTime_008_a:dateTime_008_a", |
| 110 | "expression": "date and time(\"2018-12-10T10:30:00\").time offset", |
| 111 | "expected": null, |
| 112 | "expected_type": "null", |
| 113 | "comparison": "exact", |
| 114 | "deviation": null |
| 115 | }, |
| 116 | { |
| 117 | "id": "0074-feel-properties:dateTime_009:dateTime_009", |
| 118 | "expression": "date and time(\"2018-12-10T10:30:00@Etc/UTC\").timezone", |
| 119 | "expected": "Etc/UTC", |
| 120 | "expected_type": "string", |
| 121 | "comparison": "exact", |
| 122 | "deviation": null |
| 123 | }, |
| 124 | { |
| 125 | "id": "0074-feel-properties:dateTime_009_a:dateTime_009_a", |
| 126 | "expression": "date and time(\"2018-12-10T10:30:00\").timezone", |
| 127 | "expected": null, |
| 128 | "expected_type": "null", |
| 129 | "comparison": "exact", |
| 130 | "deviation": null |
| 131 | }, |
| 132 | { |
| 133 | "id": "0074-feel-properties:date_001:date_001", |
| 134 | "expression": "date(\"2018-12-10\").year", |
| 135 | "expected": 2018.0, |
| 136 | "expected_type": "number", |
| 137 | "comparison": "f64_epsilon", |
| 138 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 139 | "epsilon": 1e-08 |
| 140 | }, |
| 141 | { |
| 142 | "id": "0074-feel-properties:date_002:date_002", |
| 143 | "expression": "date(\"2018-12-10\").month", |
| 144 | "expected": 12.0, |
| 145 | "expected_type": "number", |
| 146 | "comparison": "f64_epsilon", |
| 147 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 148 | "epsilon": 1e-08 |
| 149 | }, |
| 150 | { |
| 151 | "id": "0074-feel-properties:date_003:date_003", |
| 152 | "expression": "date(\"2018-12-10\").day", |
| 153 | "expected": 10.0, |
| 154 | "expected_type": "number", |
| 155 | "comparison": "f64_epsilon", |
| 156 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 157 | "epsilon": 1e-08 |
| 158 | }, |
| 159 | { |
| 160 | "id": "0074-feel-properties:date_004:date_004", |
| 161 | "expression": "date(\"2018-12-10\").weekday", |
| 162 | "expected": 1.0, |
| 163 | "expected_type": "number", |
| 164 | "comparison": "f64_epsilon", |
| 165 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 166 | "epsilon": 1e-08 |
| 167 | }, |
| 168 | { |
| 169 | "id": "0074-feel-properties:dt_duration_001:dt_duration_001", |
| 170 | "expression": "duration(\"P1D\").years", |
| 171 | "expected": null, |
| 172 | "expected_type": "null", |
| 173 | "comparison": "exact", |
| 174 | "deviation": null |
| 175 | }, |
| 176 | { |
| 177 | "id": "0074-feel-properties:dt_duration_002:dt_duration_002", |
| 178 | "expression": "duration(\"P1D\").months", |
| 179 | "expected": null, |
| 180 | "expected_type": "null", |
| 181 | "comparison": "exact", |
| 182 | "deviation": null |
| 183 | }, |
| 184 | { |
| 185 | "id": "0074-feel-properties:dt_duration_003:dt_duration_003", |
| 186 | "expression": "duration(\"P1D\").days", |
| 187 | "expected": 1.0, |
| 188 | "expected_type": "number", |
| 189 | "comparison": "f64_epsilon", |
| 190 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 191 | "epsilon": 1e-08 |
| 192 | }, |
| 193 | { |
| 194 | "id": "0074-feel-properties:dt_duration_003_a:dt_duration_003_a", |
| 195 | "expression": "duration(\"PT2H\").days", |
| 196 | "expected": 0.0, |
| 197 | "expected_type": "number", |
| 198 | "comparison": "f64_epsilon", |
| 199 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 200 | "epsilon": 1e-08 |
| 201 | }, |
| 202 | { |
| 203 | "id": "0074-feel-properties:dt_duration_004:dt_duration_004", |
| 204 | "expression": "duration(\"PT2H\").hours", |
| 205 | "expected": 2.0, |
| 206 | "expected_type": "number", |
| 207 | "comparison": "f64_epsilon", |
| 208 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 209 | "epsilon": 1e-08 |
| 210 | }, |
| 211 | { |
| 212 | "id": "0074-feel-properties:dt_duration_004_a:dt_duration_004_a", |
| 213 | "expression": "duration(\"P1D\").hours", |
| 214 | "expected": 0.0, |
| 215 | "expected_type": "number", |
| 216 | "comparison": "f64_epsilon", |
| 217 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 218 | "epsilon": 1e-08 |
| 219 | }, |
| 220 | { |
| 221 | "id": "0074-feel-properties:dt_duration_005:dt_duration_005", |
| 222 | "expression": "duration(\"PT2M\").minutes", |
| 223 | "expected": 2.0, |
| 224 | "expected_type": "number", |
| 225 | "comparison": "f64_epsilon", |
| 226 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 227 | "epsilon": 1e-08 |
| 228 | }, |
| 229 | { |
| 230 | "id": "0074-feel-properties:dt_duration_005_a:dt_duration_005_a", |
| 231 | "expression": "duration(\"P1D\").minutes", |
| 232 | "expected": 0.0, |
| 233 | "expected_type": "number", |
| 234 | "comparison": "f64_epsilon", |
| 235 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 236 | "epsilon": 1e-08 |
| 237 | }, |
| 238 | { |
| 239 | "id": "0074-feel-properties:dt_duration_006:dt_duration_006", |
| 240 | "expression": "duration(\"PT2S\").seconds", |
| 241 | "expected": 2.0, |
| 242 | "expected_type": "number", |
| 243 | "comparison": "f64_epsilon", |
| 244 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 245 | "epsilon": 1e-08 |
| 246 | }, |
| 247 | { |
| 248 | "id": "0074-feel-properties:dt_duration_006_a:dt_duration_006_a", |
| 249 | "expression": "duration(\"P1D\").seconds", |
| 250 | "expected": 0.0, |
| 251 | "expected_type": "number", |
| 252 | "comparison": "f64_epsilon", |
| 253 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 254 | "epsilon": 1e-08 |
| 255 | }, |
| 256 | { |
| 257 | "id": "0074-feel-properties:range_001:range_001", |
| 258 | "expression": "{start included: [1..10].start included, start: [1..10].start, end: [1..10].end, end included: [1..10].end included}", |
| 259 | "expected": { |
| 260 | "start included": true, |
| 261 | "start": 1.0, |
| 262 | "end": 10.0, |
| 263 | "end included": true |
| 264 | }, |
| 265 | "expected_type": "context", |
| 266 | "comparison": "exact", |
| 267 | "deviation": null |
| 268 | }, |
| 269 | { |
| 270 | "id": "0074-feel-properties:range_002:range_002", |
| 271 | "expression": "{start included: (1..10].start included, start: (1..10].start, end: (1..10].end, end included: (1..10].end included}", |
| 272 | "expected": { |
| 273 | "start included": false, |
| 274 | "start": 1.0, |
| 275 | "end": 10.0, |
| 276 | "end included": true |
| 277 | }, |
| 278 | "expected_type": "context", |
| 279 | "comparison": "exact", |
| 280 | "deviation": null |
| 281 | }, |
| 282 | { |
| 283 | "id": "0074-feel-properties:range_003:range_003", |
| 284 | "expression": "{start included: ]1..10].start included, start: ]1..10].start, end: ]1..10].end, end included: ]1..10].end included}", |
| 285 | "expected": { |
| 286 | "start included": false, |
| 287 | "start": 1.0, |
| 288 | "end": 10.0, |
| 289 | "end included": true |
| 290 | }, |
| 291 | "expected_type": "context", |
| 292 | "comparison": "exact", |
| 293 | "deviation": null |
| 294 | }, |
| 295 | { |
| 296 | "id": "0074-feel-properties:range_004:range_004", |
| 297 | "expression": "{start included: [1..10).start included, start: [1..10).start, end: [1..10).end, end included: [1..10).end included}", |
| 298 | "expected": { |
| 299 | "start included": true, |
| 300 | "start": 1.0, |
| 301 | "end": 10.0, |
| 302 | "end included": false |
| 303 | }, |
| 304 | "expected_type": "context", |
| 305 | "comparison": "exact", |
| 306 | "deviation": null |
| 307 | }, |
| 308 | { |
| 309 | "id": "0074-feel-properties:range_005:range_005", |
| 310 | "expression": "{start included: [1..10[.start included, start: [1..10[.start, end: [1..10[.end, end included: [1..10[.end included}", |
| 311 | "expected": { |
| 312 | "start included": true, |
| 313 | "start": 1.0, |
| 314 | "end": 10.0, |
| 315 | "end included": false |
| 316 | }, |
| 317 | "expected_type": "context", |
| 318 | "comparison": "exact", |
| 319 | "deviation": null |
| 320 | }, |
| 321 | { |
| 322 | "id": "0074-feel-properties:range_006:range_006", |
| 323 | "expression": "{start included: (<10).start included, start: (<10).start, end: (<10).end, end included: (<10).end included}", |
| 324 | "expected": { |
| 325 | "start included": false, |
| 326 | "start": null, |
| 327 | "end": 10.0, |
| 328 | "end included": false |
| 329 | }, |
| 330 | "expected_type": "context", |
| 331 | "comparison": "exact", |
| 332 | "deviation": null |
| 333 | }, |
| 334 | { |
| 335 | "id": "0074-feel-properties:range_007:range_007", |
| 336 | "expression": "{start included: (<=10).start included, start: (<=10).start, end: (<=10).end, end included: (<=10).end included}", |
| 337 | "expected": { |
| 338 | "start included": false, |
| 339 | "start": null, |
| 340 | "end": 10.0, |
| 341 | "end included": true |
| 342 | }, |
| 343 | "expected_type": "context", |
| 344 | "comparison": "exact", |
| 345 | "deviation": null |
| 346 | }, |
| 347 | { |
| 348 | "id": "0074-feel-properties:range_009:range_009", |
| 349 | "expression": "{start included: (>10).start included, start: (>10).start, end: (>10).end, end included: (>10).end included}", |
| 350 | "expected": { |
| 351 | "start included": false, |
| 352 | "start": 10.0, |
| 353 | "end": null, |
| 354 | "end included": false |
| 355 | }, |
| 356 | "expected_type": "context", |
| 357 | "comparison": "exact", |
| 358 | "deviation": null |
| 359 | }, |
| 360 | { |
| 361 | "id": "0074-feel-properties:range_010:range_010", |
| 362 | "expression": "{start included: (>=10).start included, start: (>=10).start, end: (>=10).end, end included: (>=10).end included}", |
| 363 | "expected": { |
| 364 | "start included": true, |
| 365 | "start": 10.0, |
| 366 | "end": null, |
| 367 | "end included": false |
| 368 | }, |
| 369 | "expected_type": "context", |
| 370 | "comparison": "exact", |
| 371 | "deviation": null |
| 372 | }, |
| 373 | { |
| 374 | "id": "0074-feel-properties:range_011:range_011", |
| 375 | "expression": "{start included: (=10).start included, start: (=10).start, end: (=10).end, end included: (=10).end included}", |
| 376 | "expected": { |
| 377 | "start included": true, |
| 378 | "start": 10.0, |
| 379 | "end": 10.0, |
| 380 | "end included": true |
| 381 | }, |
| 382 | "expected_type": "context", |
| 383 | "comparison": "exact", |
| 384 | "deviation": null |
| 385 | }, |
| 386 | { |
| 387 | "id": "0074-feel-properties:time_001:time_001", |
| 388 | "expression": "time(\"10:30:01\").hour", |
| 389 | "expected": 10.0, |
| 390 | "expected_type": "number", |
| 391 | "comparison": "f64_epsilon", |
| 392 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 393 | "epsilon": 1e-08 |
| 394 | }, |
| 395 | { |
| 396 | "id": "0074-feel-properties:time_002:time_002", |
| 397 | "expression": "time(\"10:30:01\").minute", |
| 398 | "expected": 30.0, |
| 399 | "expected_type": "number", |
| 400 | "comparison": "f64_epsilon", |
| 401 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 402 | "epsilon": 1e-08 |
| 403 | }, |
| 404 | { |
| 405 | "id": "0074-feel-properties:time_003:time_003", |
| 406 | "expression": "time(\"10:30:01\").second", |
| 407 | "expected": 1.0, |
| 408 | "expected_type": "number", |
| 409 | "comparison": "f64_epsilon", |
| 410 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 411 | "epsilon": 1e-08 |
| 412 | }, |
| 413 | { |
| 414 | "id": "0074-feel-properties:time_004:time_004", |
| 415 | "expression": "time(\"10:30:00+05:00\").time offset", |
| 416 | "expected": "PT5H", |
| 417 | "expected_type": "duration", |
| 418 | "comparison": "exact", |
| 419 | "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects." |
| 420 | }, |
| 421 | { |
| 422 | "id": "0074-feel-properties:time_004_a:time_004_a", |
| 423 | "expression": "time(\"10:30:00\").time offset", |
| 424 | "expected": null, |
| 425 | "expected_type": "null", |
| 426 | "comparison": "exact", |
| 427 | "deviation": null |
| 428 | }, |
| 429 | { |
| 430 | "id": "0074-feel-properties:time_005_a:time_005_a", |
| 431 | "expression": "time(\"10:30:00\").timezone", |
| 432 | "expected": null, |
| 433 | "expected_type": "null", |
| 434 | "comparison": "exact", |
| 435 | "deviation": null |
| 436 | }, |
| 437 | { |
| 438 | "id": "0074-feel-properties:ym_duration_001:ym_duration_001", |
| 439 | "expression": "duration(\"P1Y2M\").years", |
| 440 | "expected": 1.0, |
| 441 | "expected_type": "number", |
| 442 | "comparison": "f64_epsilon", |
| 443 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 444 | "epsilon": 1e-08 |
| 445 | }, |
| 446 | { |
| 447 | "id": "0074-feel-properties:ym_duration_001_a:ym_duration_001_a", |
| 448 | "expression": "duration(\"P2M\").years", |
| 449 | "expected": 0.0, |
| 450 | "expected_type": "number", |
| 451 | "comparison": "f64_epsilon", |
| 452 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 453 | "epsilon": 1e-08 |
| 454 | }, |
| 455 | { |
| 456 | "id": "0074-feel-properties:ym_duration_002:ym_duration_002", |
| 457 | "expression": "duration(\"P2M\").months", |
| 458 | "expected": 2.0, |
| 459 | "expected_type": "number", |
| 460 | "comparison": "f64_epsilon", |
| 461 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 462 | "epsilon": 1e-08 |
| 463 | }, |
| 464 | { |
| 465 | "id": "0074-feel-properties:ym_duration_002_a:ym_duration_002_a", |
| 466 | "expression": "duration(\"P1Y\").months", |
| 467 | "expected": 0.0, |
| 468 | "expected_type": "number", |
| 469 | "comparison": "f64_epsilon", |
| 470 | "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.", |
| 471 | "epsilon": 1e-08 |
| 472 | }, |
| 473 | { |
| 474 | "id": "0074-feel-properties:ym_duration_003:ym_duration_003", |
| 475 | "expression": "duration(\"P1Y\").days", |
| 476 | "expected": null, |
| 477 | "expected_type": "null", |
| 478 | "comparison": "exact", |
| 479 | "deviation": null |
| 480 | }, |
| 481 | { |
| 482 | "id": "0074-feel-properties:ym_duration_004:ym_duration_004", |
| 483 | "expression": "duration(\"P1Y\").hours", |
| 484 | "expected": null, |
| 485 | "expected_type": "null", |
| 486 | "comparison": "exact", |
| 487 | "deviation": null |
| 488 | }, |
| 489 | { |
| 490 | "id": "0074-feel-properties:ym_duration_005:ym_duration_005", |
| 491 | "expression": "duration(\"P1Y\").minutes", |
| 492 | "expected": null, |
| 493 | "expected_type": "null", |
| 494 | "comparison": "exact", |
| 495 | "deviation": null |
| 496 | }, |
| 497 | { |
| 498 | "id": "0074-feel-properties:ym_duration_006:ym_duration_006", |
| 499 | "expression": "duration(\"P1Y\").seconds", |
| 500 | "expected": null, |
| 501 | "expected_type": "null", |
| 502 | "comparison": "exact", |
| 503 | "deviation": null |
| 504 | } |
| 505 | ] |