Lines Matching refs:randrange
401 randrange = self.gen.randrange
402 k = sum(randrange(6755399441055744) % 3 == 2 for i in range(n))
467 r = self.gen.randrange(span)
474 start = self.gen.randrange(2 ** (i-2))
475 stop = self.gen.randrange(2 ** i)
478 self.assertTrue(start <= self.gen.randrange(start, stop) < stop)
483 set([self.gen.randrange(start,stop) for i in range(100)]))
486 rint = self.gen.randrange(0, 10, 2)
488 rint = self.gen.randrange(0, 2, 2)
492 raises = partial(self.assertRaises, ValueError, self.gen.randrange)
705 r = self.gen.randrange(span)
712 start = self.gen.randrange(2 ** (i-2))
713 stop = self.gen.randrange(2 ** i)
716 self.assertTrue(start <= self.gen.randrange(start, stop) < stop)
721 set([self.gen.randrange(start,stop) for i in range(100)]))
738 self.assertEqual(self.gen.randrange(2**99),
804 x = self.gen.randrange(start, stop, step)
1148 SubClass1().randrange(42)
1157 SubClass2().randrange(42)
1167 SubClass3().randrange(42)
1177 SubClass4().randrange(42)
1194 SubClass5().randrange(42)
1200 SubClass6().randrange(42)
1206 SubClass7().randrange(42)
1212 SubClass8().randrange(42)