Exemplo n.º 1
0
    def test_03_insert(self):
        tree = Node(6)
        for i in (4, 7, 9, 12, 1, 0, 3):
            tree.insert(i)

        self.assertEqual(tree.to_list(), self.LIST)