Lines Matching refs:gammavariate
698 g.random = x[:].pop; g.gammavariate(0.01, 1.0)
699 g.random = x[:].pop; g.gammavariate(1.0, 1.0)
700 g.random = x[:].pop; g.gammavariate(200.0, 1.0)
777 self.assertRaises(ValueError, random.gammavariate, -1, 3)
778 self.assertRaises(ValueError, random.gammavariate, 0, 2)
779 self.assertRaises(ValueError, random.gammavariate, 2, 0)
780 self.assertRaises(ValueError, random.gammavariate, 1, -3)
785 # of random.gammavariate(), depending on the value of 'alpha'. What we
793 returned_value = random.gammavariate(1.1, 2.3)
800 returned_value = random.gammavariate(1.0, 3.14)
849 returned_value = random.gammavariate(alpha, beta)
866 returned_value = random.gammavariate(alpha, beta)
869 @unittest.mock.patch('random.Random.gammavariate')