code: def test_array_sampling(
      method: str, exponent: tp.Optional[float], sigma: float
  ) -> None:
      mbound = 10000.0
      param = par.Array(init=2 * np.ones((2, 3))).set_bounds(
          [[1.0, 1, 1]], [[mbound] * 3], method=method, full_range_sampling=True  # type: ignore
      )
      param.set_mutation(exponent=exponent, sigma=sigma)
      new_param = param.sample()
      val = new_param.value
      assert np.any(np.abs(val) > 10)
      assert np.all(val <= mbound)
      assert np.all(val >= 1)
  
imports: import pickle
  import typing
  import pytest
  import numpy
  from nevergrad.common import errors
  from .None import parameter
label_desc: Use image node_id 27 for calling a global function with example usage: test_array_sampling(method, exponent, sigma) without return types