code: def test_compare_with_tversky_as_set(left, right):
      td = textdistance.Tversky(ks=[0.5, 0.5], as_set=True).distance(
          left, right
      )
      jd = ALG(as_set=True).distance(left, right)
      assert isclose(jd, td)
  
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_compare_with_tversky_as_set(left, right) without return types