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

Method test_standard_exponential_float

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

Source from the content-addressed store, hash-verified

190 params_0(self.rg.standard_exponential)
191
192 def test_standard_exponential_float(self):
193 randoms = self.rg.standard_exponential(10, dtype='float32')
194 assert_(len(randoms) == 10)
195 assert randoms.dtype == np.float32
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',

Callers

nothing calls this directly

Calls 2

assert_Function · 0.90
params_0Function · 0.85

Tested by

no test coverage detected