MCPcopy Create free account
hub / github.com/numpy/numpy / test_standard_exponential_float_log

Method test_standard_exponential_float_log

numpy/random/tests/test_smoke.py:198–204  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls 2

assert_Function · 0.90
params_0Function · 0.85

Tested by

no test coverage detected