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