code: def test_Smooth_inputs():
      input_map = dict(
          args=dict(
              argstr="%s",
          ),
          environ=dict(
              nohash=True,
              usedefault=True,
          ),
          in_file=dict(
              argstr="--i %s",
              extensions=None,
              mandatory=True,
          ),
          num_iters=dict(
              argstr="--niters %d",
              mandatory=True,
              xor=["surface_fwhm"],
          ),
          proj_frac=dict(
              argstr="--projfrac %s",
              xor=["proj_frac_avg"],
          ),
          proj_frac_avg=dict(
              argstr="--projfrac-avg %.2f %.2f %.2f",
              xor=["proj_frac"],
          ),
          reg_file=dict(
              argstr="--reg %s",
              extensions=None,
              mandatory=True,
          ),
          smoothed_file=dict(
              argstr="--o %s",
              extensions=None,
              genfile=True,
          ),
          subjects_dir=dict(),
          surface_fwhm=dict(
              argstr="--fwhm %f",
              mandatory=True,
              requires=["reg_file"],
              xor=["num_iters"],
          ),
          vol_fwhm=dict(
              argstr="--vol-fwhm %f",
          ),
      )
      inputs = Smooth.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_Smooth_inputs() without return types