code: def test_testbed_functions(
      cls: Callable[..., Callable[[np.ndarray], float]],
      params: List[Any],
      data: List[float],
      expected: float,
  ) -> None:
      np.random.seed(12)
      func = cls(*[np.array(p) for p in params])
      value = func(np.array(data))
      np.testing.assert_almost_equal(value, expected, decimal=5)
  
file_path: nevergrad/nevergrad/functions/lsgo/test_funcs.py
imports: from typing import List, Any, Callable
  import numpy
  from nevergrad.common import testing
  from .None import _funcs
label_desc: Use image node_id 1 for calling a global function with example usage: test_testbed_functions(cls, params, data, expected) without return types