code: def test_params(env):
      policy1 = ConstantPolicy(env.action_space.sample())
      policy2 = ConstantPolicy(env.action_space.sample())
      assert (
          policy1.get_action(None)[0] != policy2.get_action(None)[0]
      ).all()
  
      exp_policy1 = AddGaussianNoise(env, policy1, 1)
      exp_policy2 = AddGaussianNoise(env, policy2, 1)
      exp_policy2.get_action(None)
  
      assert exp_policy1._sigma() != exp_policy2._sigma()
  
      exp_policy1.set_param_values(exp_policy2.get_param_values())
  
      assert (
          policy1.get_action(None)[0] == policy2.get_action(None)[0]
      ).all()
      assert exp_policy1._sigma() == exp_policy2._sigma()
  
file_path: garage/tests/garage/np/exploration_strategies/test_add_gaussian_noise.py
imports: import collections
  import numpy
  import pytest
  from garage.np.exploration_policies import AddGaussianNoise
  from tests.fixtures.envs.dummy import DummyBoxEnv
label_desc: Use image node_id 2 for calling a global function with example usage: test_params(env) without return types