code: def test_distance_with_params(left, right, params, expected):
      actual = ALG(external=False, **params)(left, right)
      assert actual == expected
  
      actual = ALG(external=True, **params)(left, right)
      assert actual == expected
  
imports: import pytest
  import textdistance
label_desc: Use image node_id 2 for calling a global function with example usage: test_distance_with_params(left, right, params, expected) without return types