(self)
| 200 | return random_state, state |
| 201 | |
| 202 | def test_basic(self): |
| 203 | random_state, state = self._create_state() |
| 204 | old = random_state.tomaxint(16) |
| 205 | random_state.set_state(state) |
| 206 | new = random_state.tomaxint(16) |
| 207 | assert_(np.all(old == new)) |
| 208 | |
| 209 | def test_gaussian_reset(self): |
| 210 | # Make sure the cached every-other-Gaussian is reset. |
nothing calls this directly
no test coverage detected