def test_MedicAlgorithmN3_outputs():
    output_map = dict(outInhomogeneity=dict(),
    outInhomogeneity2=dict(),
    )
    outputs = MedicAlgorithmN3.output_spec()

    for key, metadata in output_map.items():
        for metakey, value in metadata.items():
            yield assert_equal, getattr(outputs.traits()[key], metakey), value
def test_MedicAlgorithmN3_outputs():
    output_map = dict(
        outInhomogeneity=dict(),
        outInhomogeneity2=dict(),
    )
    outputs = MedicAlgorithmN3.output_spec()

    for key, metadata in output_map.items():
        for metakey, value in metadata.items():
            yield assert_equal, getattr(outputs.traits()[key], metakey), value
def test_MedicAlgorithmN3_inputs():
    input_map = dict(args=dict(argstr='%s',
    ),
    environ=dict(nohash=True,
    usedefault=True,
    ),
    ignore_exception=dict(nohash=True,
    usedefault=True,
    ),
    inAutomatic=dict(argstr='--inAutomatic %s',
    ),
    inEnd=dict(argstr='--inEnd %f',
    ),
    inField=dict(argstr='--inField %f',
    ),
    inInput=dict(argstr='--inInput %s',
    ),
    inKernel=dict(argstr='--inKernel %f',
    ),
    inMaximum=dict(argstr='--inMaximum %d',
    ),
    inSignal=dict(argstr='--inSignal %f',
    ),
    inSubsample=dict(argstr='--inSubsample %f',
    ),
    inWeiner=dict(argstr='--inWeiner %f',
    ),
    null=dict(argstr='--null %s',
    ),
    outInhomogeneity=dict(argstr='--outInhomogeneity %s',
    hash_files=False,
    ),
    outInhomogeneity2=dict(argstr='--outInhomogeneity2 %s',
    hash_files=False,
    ),
    terminal_output=dict(mandatory=True,
    nohash=True,
    ),
    xDefaultMem=dict(argstr='-xDefaultMem %d',
    ),
    xMaxProcess=dict(argstr='-xMaxProcess %d',
    usedefault=True,
    ),
    xPrefExt=dict(argstr='--xPrefExt %s',
    ),
    )
    inputs = MedicAlgorithmN3.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_MedicAlgorithmN3_inputs():
    input_map = dict(
        args=dict(argstr='%s', ),
        environ=dict(
            nohash=True,
            usedefault=True,
        ),
        ignore_exception=dict(
            nohash=True,
            usedefault=True,
        ),
        inAutomatic=dict(argstr='--inAutomatic %s', ),
        inEnd=dict(argstr='--inEnd %f', ),
        inField=dict(argstr='--inField %f', ),
        inInput=dict(argstr='--inInput %s', ),
        inKernel=dict(argstr='--inKernel %f', ),
        inMaximum=dict(argstr='--inMaximum %d', ),
        inSignal=dict(argstr='--inSignal %f', ),
        inSubsample=dict(argstr='--inSubsample %f', ),
        inWeiner=dict(argstr='--inWeiner %f', ),
        null=dict(argstr='--null %s', ),
        outInhomogeneity=dict(
            argstr='--outInhomogeneity %s',
            hash_files=False,
        ),
        outInhomogeneity2=dict(
            argstr='--outInhomogeneity2 %s',
            hash_files=False,
        ),
        terminal_output=dict(
            mandatory=True,
            nohash=True,
        ),
        xDefaultMem=dict(argstr='-xDefaultMem %d', ),
        xMaxProcess=dict(
            argstr='-xMaxProcess %d',
            usedefault=True,
        ),
        xPrefExt=dict(argstr='--xPrefExt %s', ),
    )
    inputs = MedicAlgorithmN3.input_spec()

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