code: def test_normalization_same(text, alg):
      assert alg.normalized_distance(text, text) == 0
      if alg is not textdistance.needleman_wunsch:
          assert alg.distance(text, text) == 0
      assert alg.normalized_similarity(text, text) == 1
  
file_path: textdistance/tests/test_common.py
imports: from math import isclose
  import hypothesis
  import pytest
  import textdistance
label_desc: Use image node_id 3 for calling a global function with example usage: test_normalization_same(text, alg) without return types