code: def test_gym(
      intermediate_layer_dim,
      noise_level,
      deterministic_sim,
      states_normalization,
  ) -> None:
      func = MountainCarContinuous(
          num_rollouts=2,
          intermediate_layer_dim=intermediate_layer_dim,
          noise_level=noise_level,
          deterministic_sim=deterministic_sim,
          states_normalization=states_normalization,
          random_state=42,
      )
  
      x = func.parametrization.value
      value = func(x)
      np.testing.assert_almost_equal(value, 0.0)
      x = func.parametrization.sample().value
      assert func(x) != 0
      if noise_level == 0.0 and deterministic_sim:
          assert func(x) == func(x)
      else:
          assert func(x) != func(x)
  
imports: import pytest
  import numpy
  from .core import BaseFunction
label_desc: Use image node_id 1 for calling a global function with example usage: test_gym(intermediate_layer_dim, noise_level, deterministic_sim, states_normalization) without return types