MCPcopy
hub / github.com/numpy/numpy / test_standard_gamma

Method test_standard_gamma

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

Source from the content-addressed store, hash-verified

185 params_0(rg.standard_normal)
186
187 def test_standard_gamma(self):
188 rg = self._create_rng().rg
189 assert_(len(rg.standard_gamma(10, 10)) == 10)
190 assert_(len(rg.standard_gamma(np.array([10] * 10), 10)) == 10)
191 params_1(rg.standard_gamma)
192
193 def test_standard_exponential(self):
194 rg = self._create_rng().rg

Callers

nothing calls this directly

Calls 3

_create_rngMethod · 0.95
assert_Function · 0.90
params_1Function · 0.85

Tested by

no test coverage detected