| 1 | [ |
| 2 | { |
| 3 | "id": "0083-feel-unicode:decision_001:decision_001", |
| 4 | "expression": "string length(\"\\u0009\")", |
| 5 | "expected": 1.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": "0083-feel-unicode:decision_001_a:decision_001_a", |
| 13 | "expression": "string length(\"\\U01F40E\")", |
| 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": "0083-feel-unicode:decision_001_b:decision_001_b", |
| 22 | "expression": "\"\\U01F40E\" = \"\ud83d\udc0e\"", |
| 23 | "expected": true, |
| 24 | "expected_type": "boolean", |
| 25 | "comparison": "exact", |
| 26 | "deviation": null |
| 27 | }, |
| 28 | { |
| 29 | "id": "0083-feel-unicode:decision_002:decision_002", |
| 30 | "expression": "string length(\"\\\\u0009\")", |
| 31 | "expected": 6.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": "0083-feel-unicode:decision_003:decision_003", |
| 39 | "expression": "string length(\"\\uD83D\\uDCA9\")", |
| 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": "0083-feel-unicode:decision_003_a:decision_003_a", |
| 48 | "expression": "string length(\"\\ud83d\\udca9\")", |
| 49 | "expected": 1.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": "0083-feel-unicode:decision_004:decision_004", |
| 57 | "expression": "string length(\"\\ud83d\\udc0e\\uD83D\\uDE00\")", |
| 58 | "expected": 2.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": "0083-feel-unicode:decision_004_a:decision_004_a", |
| 66 | "expression": "string length(\"\ud83d\udc0e\ud83d\ude00\")", |
| 67 | "expected": 2.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": "0083-feel-unicode:decision_005:decision_005", |
| 75 | "expression": "contains(\"\\ud83d\\udc0e\\uD83D\\uDE00\", \"\\uD83D\\uDE00\")", |
| 76 | "expected": true, |
| 77 | "expected_type": "boolean", |
| 78 | "comparison": "exact", |
| 79 | "deviation": null |
| 80 | }, |
| 81 | { |
| 82 | "id": "0083-feel-unicode:decision_005_a:decision_005_a", |
| 83 | "expression": "contains(\"\\ud83d\\udc0e\\uD83D\\uDE00\", \"\ud83d\ude00\")", |
| 84 | "expected": true, |
| 85 | "expected_type": "boolean", |
| 86 | "comparison": "exact", |
| 87 | "deviation": null |
| 88 | }, |
| 89 | { |
| 90 | "id": "0083-feel-unicode:endswith_001:endswith_001", |
| 91 | "expression": "ends with(\"\\ud83d\\udc0e\\uD83D\\uDE00\", \"\\uD83D\\uDE00\")", |
| 92 | "expected": true, |
| 93 | "expected_type": "boolean", |
| 94 | "comparison": "exact", |
| 95 | "deviation": null |
| 96 | }, |
| 97 | { |
| 98 | "id": "0083-feel-unicode:substring_004:substring_004", |
| 99 | "expression": "substring(\"\\U01F40Efoo\", 2) = \"foo\"", |
| 100 | "expected": true, |
| 101 | "expected_type": "boolean", |
| 102 | "comparison": "exact", |
| 103 | "deviation": null |
| 104 | } |
| 105 | ] |