code: def test_genzcornerpeak_inf() -> None:
      y = np.array([-np.inf, -np.inf])
      output = corefuncs.genzcornerpeak(y)
      np.testing.assert_equal(output, np.inf)
      output = corefuncs.minusgenzcornerpeak(y)
      np.testing.assert_equal(output, -np.inf)
  
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 4 for calling a global function with example usage: test_genzcornerpeak_inf() without return types