# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
from nipype.testing import assert_equal
from nipype.interfaces.fsl.dti import MakeDyadicVectors
def test_MakeDyadicVectors_inputs():
    input_map = dict(perc=dict(position=4,
    argstr='%f',
    ),
    ignore_exception=dict(nohash=True,
    usedefault=True,
    ),
    args=dict(argstr='%s',
    ),
    mask=dict(position=2,
    argstr='%s',
    ),
    phi_vol=dict(position=1,
    mandatory=True,
    argstr='%s',
    ),
    terminal_output=dict(mandatory=True,
    nohash=True,
    ),
    environ=dict(nohash=True,
    usedefault=True,
    ),
    output_type=dict(),
    output=dict(position=3,
    hash_files=False,
    usedefault=True,
    argstr='%s',
    ),
    theta_vol=dict(position=0,
    mandatory=True,
    argstr='%s',
    ),
    )
    inputs = MakeDyadicVectors.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_MakeDyadicVectors_outputs():
    output_map = dict(dispersion=dict(),
    dyads=dict(),
    )
    outputs = MakeDyadicVectors.output_spec()

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