# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
from nipype.testing import assert_equal
from nipype.interfaces.freesurfer.model import Concatenate
def test_Concatenate_inputs():
    input_map = dict(sort=dict(argstr='--sort',
    ),
    sign=dict(argstr='--%s',
    ),
    vote=dict(argstr='--vote',
    ),
    gmean=dict(argstr='--gmean %d',
    ),
    mean_div_n=dict(argstr='--mean-div-n',
    ),
    stats=dict(argstr='--%s',
    ),
    concatenated_file=dict(genfile=True,
    argstr='--o %s',
    ),
    combine=dict(argstr='--combine',
    ),
    environ=dict(nohash=True,
    usedefault=True,
    ),
    paired_stats=dict(argstr='--paired-%s',
    ),
    multiply_by=dict(argstr='--mul %f',
    ),
    ignore_exception=dict(nohash=True,
    usedefault=True,
    ),
    args=dict(argstr='%s',
    ),
    terminal_output=dict(mandatory=True,
    nohash=True,
    ),
    subjects_dir=dict(),
    multiply_matrix_file=dict(argstr='--mtx %s',
    ),
    in_files=dict(mandatory=True,
    argstr='--i %s...',
    ),
    add_val=dict(argstr='--add %f',
    ),
    max_bonfcor=dict(argstr='--max-bonfcor',
    ),
    keep_dtype=dict(argstr='--keep-datatype',
    ),
    mask_file=dict(argstr='--mask %s',
    ),
    max_index=dict(argstr='--max-index',
    ),
    )
    inputs = Concatenate.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_Concatenate_outputs():
    output_map = dict(concatenated_file=dict(),
    )
    outputs = Concatenate.output_spec()

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