| 1 | [ |
| 2 | { |
| 3 | "id": "1104-feel-string-length-function:001_1afe6930d1:feel-string-length-function_001_1afe6930d1", |
| 4 | "expression": "string length(\"\")", |
| 5 | "expected": 0.0, |
| 6 | "expected_type": "number", |
| 7 | "comparison": "f64_epsilon", |
| 8 | "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.", |
| 9 | "epsilon": 1e-08 |
| 10 | }, |
| 11 | { |
| 12 | "id": "1104-feel-string-length-function:002_249c23050d:feel-string-length-function_002_249c23050d", |
| 13 | "expression": "string length(\"a\")", |
| 14 | "expected": 1.0, |
| 15 | "expected_type": "number", |
| 16 | "comparison": "f64_epsilon", |
| 17 | "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.", |
| 18 | "epsilon": 1e-08 |
| 19 | }, |
| 20 | { |
| 21 | "id": "1104-feel-string-length-function:003_e1df507dee:feel-string-length-function_003_e1df507dee", |
| 22 | "expression": "string length(\"abc\")", |
| 23 | "expected": 3.0, |
| 24 | "expected_type": "number", |
| 25 | "comparison": "f64_epsilon", |
| 26 | "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.", |
| 27 | "epsilon": 1e-08 |
| 28 | }, |
| 29 | { |
| 30 | "id": "1104-feel-string-length-function:004_f4c02fac3d:feel-string-length-function_004_f4c02fac3d", |
| 31 | "expression": "string length(string:\"xyz123\")", |
| 32 | "expected": 6.0, |
| 33 | "expected_type": "number", |
| 34 | "comparison": "f64_epsilon", |
| 35 | "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.", |
| 36 | "epsilon": 1e-08 |
| 37 | }, |
| 38 | { |
| 39 | "id": "1104-feel-string-length-function:005_ca834dabac:feel-string-length-function_005_ca834dabac", |
| 40 | "expression": "string length(string:\"aaaaa dddd\")", |
| 41 | "expected": 10.0, |
| 42 | "expected_type": "number", |
| 43 | "comparison": "f64_epsilon", |
| 44 | "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.", |
| 45 | "epsilon": 1e-08 |
| 46 | }, |
| 47 | { |
| 48 | "id": "1104-feel-string-length-function:006_6c4930a0eb:feel-string-length-function_006_6c4930a0eb", |
| 49 | "expression": "string length(string:\"aaaaa dddd \")", |
| 50 | "expected": 11.0, |
| 51 | "expected_type": "number", |
| 52 | "comparison": "f64_epsilon", |
| 53 | "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.", |
| 54 | "epsilon": 1e-08 |
| 55 | } |
| 56 | ] |