code: def test_distance(left, right, expected):
      actual = ALG(winklerize=False, external=False)(left, right)
      assert isclose(actual, expected)
  
      actual = ALG(winklerize=False, external=True)(left, right)
      assert isclose(actual, expected)
  
imports: from math import isclose
  import pytest
  import textdistance
label_desc: Use image node_id 1 for calling a global function with example usage: test_distance(left, right, expected) without return types