code: def test_monotonicity(alg):
      same = alg("test", "test")
      similar = alg("test", "text")
      diffirent = alg("test", "nani")
      assert same <= similar <= diffirent
  
imports: from math import isclose
  import hypothesis
  import pytest
  import textdistance
label_desc: Use image node_id 1 for calling a global function with example usage: test_monotonicity(alg) without return types