code: def test_list_of_numbers(left, right, alg):
      for lib in libraries.get_libs(alg):
          conditions = lib.conditions or {}
          internal_func = getattr(textdistance, alg)(
              external=False, **conditions
          )
          external_func = lib.get_function()
          if external_func is None:
              raise RuntimeError("cannot import {}".format(str(lib)))
  
          quick_answer = internal_func.quick_answer(left, right)
          if quick_answer is not None:
              continue
          if not lib.check_conditions(internal_func, left, right):
              continue
  
          int_result = internal_func(left, right)
          s1, s2 = lib.prepare(left, right)
          ext_result = external_func(s1, s2)
          assert isclose(
              int_result, ext_result
          ), f"{lib}({repr(s1)}, {repr(s2)})"
  
file_path: textdistance/tests/test_external.py
imports: from __future__ import annotations
  import string
  from math import isclose
  import hypothesis
  import hypothesis.strategies
  import pytest
  import textdistance
  from textdistance.libraries import prototype
label_desc: Use image node_id 3 for calling a global function with example usage: test_list_of_numbers(left, right, alg) without return types