code: def test_bonnans(index: int) -> None:
      b = corefuncs.BonnansFunction(index)
      assert b(np.zeros(100)) < 10.0  # unlikely (though not impossible)
      assert b(np.random.rand(100)) > 0.0
  
file_path: nevergrad/nevergrad/functions/test_corefuncs.py
imports: import typing
  import numpy
  from nevergrad.common import testing
  from .None import corefuncs
label_desc: Use image node_id 2 for calling a global function with example usage: test_bonnans(index) without return types