# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
from nipype.testing import assert_equal
from nipype.interfaces.slicer.quantification.petstandarduptakevaluecomputation import PETStandardUptakeValueComputation
def test_PETStandardUptakeValueComputation_inputs():
    input_map = dict(petVolume=dict(argstr='--petVolume %s',
    ),
    ignore_exception=dict(nohash=True,
    usedefault=True,
    ),
    color=dict(argstr='--color %s',
    ),
    args=dict(argstr='%s',
    ),
    OutputLabel=dict(argstr='--OutputLabel %s',
    ),
    csvFile=dict(hash_files=False,
    argstr='--csvFile %s',
    ),
    OutputLabelValue=dict(argstr='--OutputLabelValue %s',
    ),
    labelMap=dict(argstr='--labelMap %s',
    ),
    petDICOMPath=dict(argstr='--petDICOMPath %s',
    ),
    terminal_output=dict(mandatory=True,
    nohash=True,
    ),
    environ=dict(nohash=True,
    usedefault=True,
    ),
    SUVMax=dict(argstr='--SUVMax %s',
    ),
    SUVMin=dict(argstr='--SUVMin %s',
    ),
    SUVMean=dict(argstr='--SUVMean %s',
    ),
    )
    inputs = PETStandardUptakeValueComputation.input_spec()

    for key, metadata in input_map.items():
        for metakey, value in metadata.items():
            yield assert_equal, getattr(inputs.traits()[key], metakey), value
def test_PETStandardUptakeValueComputation_outputs():
    output_map = dict(csvFile=dict(),
    )
    outputs = PETStandardUptakeValueComputation.output_spec()

    for key, metadata in output_map.items():
        for metakey, value in metadata.items():
            yield assert_equal, getattr(outputs.traits()[key], metakey), value
