示例#1
0
def test_tree_insert():
    tree = Tree('tree', [])
    tree.insert('child')
    assert tree.children == ['child']
示例#2
0
def test_tree_insert():
    tree = Tree("tree", [])
    tree.insert("child")
    assert tree.children == ["child"]