code: def test_BinaryStats_inputs():
      input_map = dict(
          args=dict(
              argstr="%s",
          ),
          environ=dict(
              nohash=True,
              usedefault=True,
          ),
          in_file=dict(
              argstr="%s",
              extensions=None,
              mandatory=True,
              position=2,
          ),
          larger_voxel=dict(
              argstr="-t %f",
              position=-3,
          ),
          mask_file=dict(
              argstr="-m %s",
              extensions=None,
              position=-2,
          ),
          operand_file=dict(
              argstr="%s",
              extensions=None,
              mandatory=True,
              position=5,
              xor=["operand_value"],
          ),
          operand_value=dict(
              argstr="%.8f",
              mandatory=True,
              position=5,
              xor=["operand_file"],
          ),
          operation=dict(
              argstr="-%s",
              mandatory=True,
              position=4,
          ),
      )
      inputs = BinaryStats.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_BinaryStats_inputs() without return types