(self)
| 1313 | assert_raises(ValueError, random.exponential, scale=-0.) |
| 1314 | |
| 1315 | def test_f(self): |
| 1316 | random = Generator(MT19937(self.seed)) |
| 1317 | actual = random.f(12, 77, size=(3, 2)) |
| 1318 | desired = np.array([[0.461720027077085, 1.100441958872451], |
| 1319 | [1.100337455217484, 0.91421736740018 ], # noqa: E202 |
| 1320 | [0.500811891303113, 0.826802454552058]]) |
| 1321 | assert_array_almost_equal(actual, desired, decimal=15) |
| 1322 | |
| 1323 | def test_gamma(self): |
| 1324 | random = Generator(MT19937(self.seed)) |
nothing calls this directly
no test coverage detected