[
  {
    "id": "0095-feel-day-of-year-function:date_001:date_001",
    "expression": "day of year(@\"1970-01-01\")",
    "expected": 1.0,
    "expected_type": "number",
    "comparison": "f64_epsilon",
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0095-feel-day-of-year-function:date_002:date_002",
    "expression": "day of year(@\"2019-12-31\")",
    "expected": 365.0,
    "expected_type": "number",
    "comparison": "f64_epsilon",
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0095-feel-day-of-year-function:date_003:date_003",
    "expression": "day of year(@\"2020-12-31\")",
    "expected": 366.0,
    "expected_type": "number",
    "comparison": "f64_epsilon",
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0095-feel-day-of-year-function:date_004:date_004",
    "expression": "day of year(@\"2019-09-17\")",
    "expected": 260.0,
    "expected_type": "number",
    "comparison": "f64_epsilon",
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0095-feel-day-of-year-function:date_005:date_005",
    "expression": "day of year(date_input_001)",
    "expected": 1.0,
    "expected_type": "number",
    "comparison": "f64_epsilon",
    "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.",
    "context": {
      "date_input_001": {
        "@type": "date",
        "@value": "1970-01-01"
      }
    },
    "epsilon": 1e-08
  },
  {
    "id": "0095-feel-day-of-year-function:date_006:date_006",
    "expression": "day of year(date: @\"2019-09-17\")",
    "expected": 260.0,
    "expected_type": "number",
    "comparison": "f64_epsilon",
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0095-feel-day-of-year-function:datetime_001:datetime_001",
    "expression": "day of year(@\"1970-01-01T10:10:10\")",
    "expected": 1.0,
    "expected_type": "number",
    "comparison": "f64_epsilon",
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0095-feel-day-of-year-function:datetime_002:datetime_002",
    "expression": "day of year(@\"2019-12-31T10:10:10\")",
    "expected": 365.0,
    "expected_type": "number",
    "comparison": "f64_epsilon",
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0095-feel-day-of-year-function:datetime_003:datetime_003",
    "expression": "day of year(@\"2020-12-31T10:10:10\")",
    "expected": 366.0,
    "expected_type": "number",
    "comparison": "f64_epsilon",
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0095-feel-day-of-year-function:datetime_004:datetime_004",
    "expression": "day of year(date_input_001)",
    "expected": 1.0,
    "expected_type": "number",
    "comparison": "f64_epsilon",
    "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.",
    "context": {
      "date_input_001": {
        "@type": "date and time",
        "@value": "1970-01-01T10:10:10"
      }
    },
    "epsilon": 1e-08
  },
  {
    "id": "0095-feel-day-of-year-function:datetime_005:datetime_005",
    "expression": "day of year(date: @\"2019-09-17T10:10:10\")",
    "expected": 260.0,
    "expected_type": "number",
    "comparison": "f64_epsilon",
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0095-feel-day-of-year-function:null_001:null_001",
    "expression": "day of year(null)",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0095-feel-day-of-year-function:null_002:null_002",
    "expression": "day of year()",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0095-feel-day-of-year-function:null_003:null_003",
    "expression": "day of year(\"foo\")",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0095-feel-day-of-year-function:null_004:null_004",
    "expression": "day of year(date: null)",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0095-feel-day-of-year-function:null_005:null_005",
    "expression": "day of year(date: \"foo\")",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0095-feel-day-of-year-function:null_006:null_006",
    "expression": "day of year(value: @\"1970-01-01\")",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0095-feel-day-of-year-function:null_007:null_007",
    "expression": "day of year(date_input_001)",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null,
    "context": {
      "date_input_001": "foo"
    }
  },
  {
    "id": "0095-feel-day-of-year-function:null_008:null_008",
    "expression": "day of year(@\"1970-01-01\", @\"1970-01-01\")",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  }
]
