MCPcopy Index your code
hub / github.com/numpy/numpy / test_standard_exponential_float

Method test_standard_exponential_float

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

_create_rngMethod · 0.95
assert_Function · 0.90
params_0Function · 0.85

Tested by

no test coverage detected