(self)
| 196 | params_0(partial(self.rg.standard_exponential, dtype='float32')) |
| 197 | |
| 198 | def test_standard_exponential_float_log(self): |
| 199 | randoms = self.rg.standard_exponential(10, dtype='float32', |
| 200 | method='inv') |
| 201 | assert_(len(randoms) == 10) |
| 202 | assert randoms.dtype == np.float32 |
| 203 | params_0(partial(self.rg.standard_exponential, dtype='float32', |
| 204 | method='inv')) |
| 205 | |
| 206 | def test_standard_cauchy(self): |
| 207 | assert_(len(self.rg.standard_cauchy(10)) == 10) |