コード例 #1
0
ファイル: test_tree.py プロジェクト: wvangeit/NeuroM
def test_is_bifurcation_point_false():
    t = Tree(0)
    nt.ok_(not is_bifurcation_point(t))
    t.add_child(Tree(1))
    nt.ok_(not is_bifurcation_point(t))
    t.add_child(Tree(2))
    t.add_child(Tree(3))
    nt.ok_(not is_bifurcation_point(t))
コード例 #2
0
ファイル: test_tree.py プロジェクト: wvangeit/NeuroM
def test_is_bifurcation_point_false():
    t = Tree(0)
    nt.ok_(not is_bifurcation_point(t))
    t.add_child(Tree(1))
    nt.ok_(not is_bifurcation_point(t))
    t.add_child(Tree(2))
    t.add_child(Tree(3))
    nt.ok_(not is_bifurcation_point(t))
コード例 #3
0
ファイル: test_tree.py プロジェクト: wvangeit/NeuroM
def test_is_bifurcation_point():
    t = Tree(0)
    t.add_child(Tree(1))
    t.add_child(Tree(2))
    nt.ok_(is_bifurcation_point(t))
コード例 #4
0
ファイル: test_tree.py プロジェクト: wvangeit/NeuroM
def test_is_bifurcation_point():
    t = Tree(0)
    t.add_child(Tree(1))
    t.add_child(Tree(2))
    nt.ok_(is_bifurcation_point(t))