(self)
| 655 | assert_raises(ValueError, np.random.exponential, scale=-0.) |
| 656 | |
| 657 | def test_f(self): |
| 658 | rng = random.RandomState(self.seed) |
| 659 | actual = rng.f(12, 77, size=(3, 2)) |
| 660 | desired = np.array([[1.21975394418575878, 1.75135759791559775], |
| 661 | [1.44803115017146489, 1.22108959480396262], |
| 662 | [1.02176975757740629, 1.34431827623300415]]) |
| 663 | assert_array_almost_equal(actual, desired, decimal=15) |
| 664 | |
| 665 | def test_gamma(self): |
| 666 | rng = random.RandomState(self.seed) |
nothing calls this directly
no test coverage detected