def test_insert_multiple_iterative(self): b = BST() b.insert_iterative(4) b.insert_iterative(5) b.insert_iterative(6) result = b.walk() self.assertEquals(result, [4, 5, 6])
def test_insert_one_iterative(self): b = BST() b.insert_iterative(4) result = b.walk() self.assertEquals(result, [4])