code: def test_get_actions():
      policy = FixedPolicy(None, np.array([1, 2, 3]))
      assert policy.get_actions(np.array([0]).reshape(1, 1))[0] == 1
      assert policy.get_action(np.array([0]))[0] == 2
      assert policy.get_action(np.array([0]))[0] == 3
      with pytest.raises(IndexError):
          policy.get_action(np.ndarray([0]))
  
imports: import numpy
  import pytest
  from garage.np.policies import FixedPolicy
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_actions() without return types