1234567891011121314 |
- from email import utils
-
-
- from utils import qsortUtils
- from random import randint
-
- enteros = [0,7,3,1,4,5,2]
- negativos = [8,-1,3,2,-4,9]
- aleatoria =[randint(-49,50) for r in range(10)]
-
- print(qsortUtils.qSort(enteros,0,len(enteros)-1) == enteros.sort())
- print(qsortUtils.qSort(negativos,0,len(negativos)-1) == negativos.sort())
- print(qsortUtils.qSort(aleatoria,0,len(aleatoria)-1) == aleatoria.sort())
-
|