def test_is_bifurcation_point_false(): t = Tree() nt.ok_(not t.is_bifurcation_point()) t.add_child(Tree()) nt.ok_(not t.is_bifurcation_point()) t.add_child(Tree()) t.add_child(Tree()) nt.ok_(not t.is_bifurcation_point())
def test_is_bifurcation_point(): t = Tree() t.add_child(Tree()) t.add_child(Tree()) nt.ok_(t.is_bifurcation_point())