{
  "source": {
    "file": "test/resource/system/graph/similarity/similarity.template.rs",
    "cases": "test/resource/system/graph/similarity/cases.json"
  },
  "functions": [
    {
      "function": "suggest",
      "tags": [
        "exact",
        "typo",
        "distant",
        "empty"
      ],
      "cases": [
        {
          "parameters": {
            "candidates": [
              "hello",
              "world"
            ],
            "target": "hello"
          },
          "returns": {
            "()": "\n\nMaybe: \"hello\"?"
          },
          "unexpected": null
        },
        {
          "parameters": {
            "candidates": [
              "hello",
              "world"
            ],
            "target": "helo"
          },
          "returns": {
            "()": "\n\nMaybe: \"hello\"?"
          },
          "unexpected": null
        },
        {
          "parameters": {
            "candidates": [
              "hello",
              "world"
            ],
            "target": "xyz"
          },
          "returns": {
            "()": null
          },
          "unexpected": null
        },
        {
          "parameters": {
            "target": "hello",
            "candidates": []
          },
          "returns": {
            "()": null
          },
          "unexpected": null
        }
      ]
    }
  ]
}