예제 #1
0
def test_Threshold_outputs():
    output_map = dict(activation_forced=dict(),
    cluster_forming_thr=dict(),
    n_clusters=dict(),
    pre_topo_fdr_map=dict(),
    pre_topo_n_clusters=dict(),
    thresholded_map=dict(),
    )
    outputs = Threshold.output_spec()

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