Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- instanciaC = ArbolRojinegro(None, None, -1, True)
- for i in range(0,500):
- instanciaC.insertar(i)
- assert altura(instanciaC) <= 2 * math.log2(500) + 1
- instanciaD = ArbolRojinegro(None, None, -1, True)
- for i in range(0,500):
- instanciaD.insertar(i)
- assert altura(instanciaD) <= 2 * math.log2(500) + 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement