code: def test_is_normalized(left, right, alg):
      a = alg(left, right)
      d = alg.distance(left, right)
      nd = alg.normalized_distance(left, right)
      assert a == d == nd
  
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_is_normalized(left, right, alg) without return types