def heapTests(lowerbound, upperbound, count): for i in range(lowerbound, upperbound + 1): for j in range(count): heaps.heaps(range(i), True)
def test_heaps(l): t.assertTrue(comparePerms(heaps(l), stdLibPerms(l)))