code: def test_normalized_by_one(left, right, alg):
      s = alg.normalized_similarity(left, right)
      d = alg.normalized_distance(left, right)
      assert isclose(s + d, 1)
  
imports: from math import isclose
  import hypothesis
  import pytest
  import textdistance
label_desc: Use image node_id 4 for calling a global function with example usage: test_normalized_by_one(left, right, alg) without return types