Lines Matching refs:randrange
280 randrange = self.gen.randrange
281 k = sum(randrange(6755399441055744) % 3 == 2 for i in range(n))
330 r = self.gen.randrange(span)
337 start = self.gen.randrange(2 ** (i-2))
338 stop = self.gen.randrange(2 ** i)
341 self.assertTrue(start <= self.gen.randrange(start, stop) < stop)
346 set([self.gen.randrange(start,stop) for i in range(100)]))
349 rint = self.gen.randrange(0, 10, 2)
351 rint = self.gen.randrange(0, 2, 2)
355 raises = partial(self.assertRaises, ValueError, self.gen.randrange)
588 r = self.gen.randrange(span)
595 start = self.gen.randrange(2 ** (i-2))
596 stop = self.gen.randrange(2 ** i)
599 self.assertTrue(start <= self.gen.randrange(start, stop) < stop)
604 set([self.gen.randrange(start,stop) for i in range(100)]))
690 x = self.gen.randrange(start, stop, step)