code: def test_testcase_function_value(
      config: tp.Dict[str, tp.Any], expected: float
  ) -> None:
      # make sure no change is made to the computation
      func = functionlib.ArtificialFunction(**config)
      np.random.seed(1)  # don't know how to control to randomness
      func = func.copy()
      np.random.seed(2)  # initialization is delayed
      x = np.random.normal(0, 1, func.dimension)
      x *= (
          -1 if config.get("noise_dissymmetry", False) else 1
      )  # change sign to activate noise dissymetry
      np.random.seed(12)  # function randomness comes at first call
      value = func(x)
      np.testing.assert_almost_equal(value, expected, decimal=3)
  
imports: import typing
  import numpy
  import pytest
  from nevergrad.common import testing
  from nevergrad.parametrization import parameter
  from .None import functionlib
label_desc: Use image node_id 4 for calling a global function with example usage: test_testcase_function_value(config, expected) without return types