code: def test_get_actions():
      env = normalize(GymEnv("InvertedDoublePendulum-v2"))
      policy = UniformRandomPolicy(env.spec)
      assert policy.get_actions(np.array([0]).reshape(1, 1))[0]
      assert policy.get_action(np.array([0]))[0]
  
imports: import numpy
  import pytest
  from garage.envs import GymEnv, normalize
  from garage.np.policies import UniformRandomPolicy
label_desc: Use image node_id 1 for calling a global function with example usage: test_get_actions() without return types