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

Method test_geometric

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

Source from the content-addressed store, hash-verified

310 assert_(len(vals) == 10)
311
312 def test_geometric(self):
313 vals = self.rg.geometric(0.5, 10)
314 assert_(len(vals) == 10)
315 params_1(self.rg.exponential, bounded=True)
316
317 def test_gumbel(self):
318 vals = self.rg.gumbel(2.0, 2.0, 10)

Callers

nothing calls this directly

Calls 2

assert_Function · 0.90
params_1Function · 0.85

Tested by

no test coverage detected