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

Method test_poisson

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

Source from the content-addressed store, hash-verified

357 assert_(len(vals) == 10)
358
359 def test_poisson(self):
360 vals = self.rg.poisson(10, 10)
361 assert_(len(vals) == 10)
362 vals = self.rg.poisson(np.array([10] * 10))
363 assert_(len(vals) == 10)
364 params_1(self.rg.poisson)
365
366 def test_power(self):
367 vals = self.rg.power(0.2, 10)

Callers

nothing calls this directly

Calls 2

assert_Function · 0.90
params_1Function · 0.85

Tested by

no test coverage detected