[
  {
    "id": "T01",
    "input": 0,
    "expected": {
      "state": "value",
      "text": "0.0",
      "unit": "u"
    },
    "purpose": "lower endpoint"
  },
  {
    "id": "T02",
    "input": 4,
    "expected": {
      "state": "value",
      "text": "1.0",
      "unit": "u"
    },
    "purpose": "exact converted unit"
  },
  {
    "id": "T03",
    "input": 40,
    "expected": {
      "state": "value",
      "text": "10.0",
      "unit": "u"
    },
    "purpose": "upper endpoint"
  },
  {
    "id": "T04",
    "input": 1,
    "expected": {
      "state": "value",
      "text": "0.3",
      "unit": "u"
    },
    "purpose": "exact 0.25 rounds upward"
  },
  {
    "id": "T05",
    "input": 3,
    "expected": {
      "state": "value",
      "text": "0.8",
      "unit": "u"
    },
    "purpose": "exact 0.75 rounds upward"
  },
  {
    "id": "T06",
    "input": 5,
    "expected": {
      "state": "value",
      "text": "1.3",
      "unit": "u"
    },
    "purpose": "exact 1.25 rounds upward"
  },
  {
    "id": "T07",
    "input": null,
    "expected": {
      "state": "unavailable",
      "text": "Unavailable",
      "unit": null
    },
    "purpose": "unavailable is not zero"
  },
  {
    "id": "T08",
    "input": -1,
    "expected": {
      "state": "invalid",
      "text": "Invalid input",
      "unit": null,
      "reason": "RANGE"
    },
    "purpose": "negative values rejected before rounding"
  },
  {
    "id": "T09",
    "input": 41,
    "expected": {
      "state": "invalid",
      "text": "Invalid input",
      "unit": null,
      "reason": "RANGE"
    },
    "purpose": "above upper bound"
  },
  {
    "id": "T10",
    "input": "4",
    "expected": {
      "state": "invalid",
      "text": "Invalid input",
      "unit": null,
      "reason": "TYPE"
    },
    "purpose": "numeric-looking string rejected"
  },
  {
    "id": "T11",
    "input": true,
    "expected": {
      "state": "invalid",
      "text": "Invalid input",
      "unit": null,
      "reason": "TYPE"
    },
    "purpose": "boolean rejected"
  },
  {
    "id": "T12",
    "input": 4.0,
    "expected": {
      "state": "invalid",
      "text": "Invalid input",
      "unit": null,
      "reason": "TYPE"
    },
    "purpose": "integral float rejected"
  }
]
