code: def test_test_function(x: tp.Any, hashing: bool) -> None:
      config: tp.Dict[str, tp.Any] = {
          "name": "sphere",
          "block_dimension": 3,
          "useless_variables": 6,
          "num_blocks": 2,
          "hashing": hashing,
      }
      outputs = []
      for _ in range(2):
          np.random.seed(12)
          func = functionlib.ArtificialFunction(**config)
          outputs.append(func(x))
      np.testing.assert_equal(outputs[0], outputs[1])
      # make sure it is properly random otherwise
      outputs.append(functionlib.ArtificialFunction(**config)(x))
      assert outputs[1] != outputs[2]
  
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 5 for calling a global function with example usage: test_test_function(x, hashing) without return types