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

Method test_geometric

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

Source from the content-addressed store, hash-verified

335 assert_(len(vals) == 10)
336
337 def test_geometric(self):
338 rg = self._create_rng().rg
339 vals = rg.geometric(0.5, 10)
340 assert_(len(vals) == 10)
341 params_1(rg.exponential, bounded=True)
342
343 def test_gumbel(self):
344 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