(self)
| 786 | assert_array_almost_equal(actual, desired[0, 0], decimal=15) |
| 787 | |
| 788 | def test_random_float(self): |
| 789 | random = Generator(MT19937(self.seed)) |
| 790 | actual = random.random((3, 2)) |
| 791 | desired = np.array([[0.0969992 , 0.70751746], # noqa: E203 |
| 792 | [0.08436483, 0.76773121], |
| 793 | [0.66506902, 0.71548719]]) |
| 794 | assert_array_almost_equal(actual, desired, decimal=7) |
| 795 | |
| 796 | def test_random_float_scalar(self): |
| 797 | random = Generator(MT19937(self.seed)) |
nothing calls this directly
no test coverage detected