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

Method test_standard_gamma

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

Source from the content-addressed store, hash-verified

181 params_0(self.rg.standard_normal)
182
183 def test_standard_gamma(self):
184 assert_(len(self.rg.standard_gamma(10, 10)) == 10)
185 assert_(len(self.rg.standard_gamma(np.array([10] * 10), 10)) == 10)
186 params_1(self.rg.standard_gamma)
187
188 def test_standard_exponential(self):
189 assert_(len(self.rg.standard_exponential(10)) == 10)

Callers

nothing calls this directly

Calls 2

assert_Function · 0.90
params_1Function · 0.85

Tested by

no test coverage detected