code: def test_olympus_surface(kind: str, noise_kind: str) -> None:
      try:
          func = core.OlympusSurface(kind=kind, noise_kind=noise_kind)
      except Exception as e:
          if os.name == "nt":
              raise ng.errors.UnsupportedExperiment(
                  "Unavailable under Windows."
              )
          else:
              raise e
      func2 = core.OlympusSurface(
          kind=kind, noise_kind=noise_kind
      )  # Let us check the randomization.
      x = 2 * np.random.rand(func.dimension)
      value = func(
          x
      )  # should not touch boundaries, so value should be < np.inf
      value2 = func2(
          x
      )  # should not touch boundaries, so value should be < np.inf
      assert isinstance(value, float)
      assert value < np.inf
      assert value != value2 or noise_kind == "GammaNoise"
  
imports: import os
  import numpy
  import nevergrad
  from .None import core
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_olympus_surface(kind, noise_kind) without return types