code: def test_XfmAvg_inputs():
      input_map = dict(
          args=dict(
              argstr="%s",
          ),
          avg_linear=dict(
              argstr="-avg_linear",
          ),
          avg_nonlinear=dict(
              argstr="-avg_nonlinear",
          ),
          clobber=dict(
              argstr="-clobber",
              usedefault=True,
          ),
          environ=dict(
              nohash=True,
              usedefault=True,
          ),
          ignore_linear=dict(
              argstr="-ignore_linear",
          ),
          ignore_nonlinear=dict(
              argstr="-ignore_nonline",
          ),
          input_files=dict(
              argstr="%s",
              mandatory=True,
              position=-2,
              sep=" ",
          ),
          input_grid_files=dict(),
          output_file=dict(
              argstr="%s",
              extensions=None,
              genfile=True,
              position=-1,
          ),
          verbose=dict(
              argstr="-verbose",
          ),
      )
      inputs = XfmAvg.input_spec()
  
      for key, metadata in list(input_map.items()):
          for metakey, value in list(metadata.items()):
              assert getattr(inputs.traits()[key], metakey) == value
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_XfmAvg_inputs() without return types