Exemplo n.º 1
0
def test_is_leaf_false():
    t = Tree(0)
    t.add_child(Tree(1))
    nt.ok_(not is_leaf(t))
Exemplo n.º 2
0
def test_is_leaf_false():
    t = Tree(0)
    t.add_child(Tree(1))
    nt.ok_(not is_leaf(t))
Exemplo n.º 3
0
def test_is_leaf():
    nt.ok_(is_leaf(Tree(0)))
Exemplo n.º 4
0
def test_is_leaf():
    nt.ok_(is_leaf(Tree(0)))