# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
from nipype.testing import assert_equal
from nipype.interfaces.fsl.model import SmoothEstimate
def test_SmoothEstimate_inputs():
    input_map = dict(ignore_exception=dict(nohash=True,
    usedefault=True,
    ),
    residual_fit_file=dict(requires=['dof'],
    argstr='--res=%s',
    ),
    args=dict(argstr='%s',
    ),
    dof=dict(mandatory=True,
    argstr='--dof=%d',
    xor=['zstat_file'],
    ),
    terminal_output=dict(mandatory=True,
    nohash=True,
    ),
    environ=dict(nohash=True,
    usedefault=True,
    ),
    zstat_file=dict(xor=['dof'],
    argstr='--zstat=%s',
    ),
    mask_file=dict(mandatory=True,
    argstr='--mask=%s',
    ),
    output_type=dict(),
    )
    inputs = SmoothEstimate.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_SmoothEstimate_outputs():
    output_map = dict(volume=dict(),
    resels=dict(),
    dlh=dict(),
    )
    outputs = SmoothEstimate.output_spec()

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