def testRandomLength(self): l = inits.initRepeatBound(list, lambda: 1, [1,10]) self.assertLessEqual(len(l), 10)
def testCreating(self): self.assertEqual(inits.initRepeatBound(list,lambda: 1, [1,1]),[1])