code: def test_normalization_monotonic(left, right, alg):
      nd = alg.normalized_distance(left, right)
      ns = alg.normalized_similarity(left, right)
      d = alg.distance(left, right)
      s = alg.similarity(left, right)
      assert (nd < ns) == (d < s)
  
file_path: textdistance/tests/test_common.py
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_normalization_monotonic(left, right, alg) without return types