code: def test_edit_empty_functional():
      """Test functional implementation of metric with empty inputs."""
      assert edit_distance([], []) == 0
  
file_path: torchmetrics/tests/unittests/text/test_edit.py
imports: from functools import partial
  import pytest
  from nltk.metrics.distance import edit_distance
  from torchmetrics.functional.text.edit import edit_distance
  from torchmetrics.text.edit import EditDistance
  from unittests.text.helpers import TextTester
  from unittests.text.inputs import _inputs_single_reference
label_desc: Use image node_id 3 for calling a global function with example usage: test_edit_empty_functional() without return types