(self)
| 207 | assert_(np.all(old == new)) |
| 208 | |
| 209 | def test_gaussian_reset(self): |
| 210 | # Make sure the cached every-other-Gaussian is reset. |
| 211 | random_state, state = self._create_state() |
| 212 | old = random_state.standard_normal(size=3) |
| 213 | random_state.set_state(state) |
| 214 | new = random_state.standard_normal(size=3) |
| 215 | assert_(np.all(old == new)) |
| 216 | |
| 217 | def test_gaussian_reset_in_media_res(self): |
| 218 | # When the state is saved with a cached Gaussian, make sure the |
nothing calls this directly
no test coverage detected