code: def _test_make_action_input(type_name, type_args={}):
      def _make_func(game, action, tics=1):
          return game.make_action(action, tics)
  
      def _set_advance_func(game, action, tics=1):
          game.set_action(action)
          game.advance_action(tics, True)
          return game.get_last_reward()
  
      __test_make_action_input(
          _make_func, type_name, type_args=type_args
      )
      __test_make_action_input(
          _set_advance_func, type_name, type_args=type_args
      )
  
file_path: ViZDoom/tests/test_make_action.py
imports: import numpy
  import vizdoom
label_desc: Use image node_id 4 for calling a global function with example usage: _test_make_action_input(type_name, type_args) and returns: game, game