code: def test_GrayscaleModelMaker_inputs():
      input_map = dict(
          InputVolume=dict(
              argstr="%s",
              extensions=None,
              position=-2,
          ),
          OutputGeometry=dict(
              argstr="%s",
              hash_files=False,
              position=-1,
          ),
          args=dict(
              argstr="%s",
          ),
          decimate=dict(
              argstr="--decimate %f",
          ),
          environ=dict(
              nohash=True,
              usedefault=True,
          ),
          name=dict(
              argstr="--name %s",
          ),
          pointnormals=dict(
              argstr="--pointnormals ",
          ),
          smooth=dict(
              argstr="--smooth %d",
          ),
          splitnormals=dict(
              argstr="--splitnormals ",
          ),
          threshold=dict(
              argstr="--threshold %f",
          ),
      )
      inputs = GrayscaleModelMaker.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_GrayscaleModelMaker_inputs() without return types