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

Method test_random

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

Source from the content-addressed store, hash-verified

170 assert_((r <= 0).all())
171
172 def test_random(self):
173 assert_(len(self.rg.random(10)) == 10)
174 params_0(self.rg.random)
175
176 def test_standard_normal_zig(self):
177 assert_(len(self.rg.standard_normal(10)) == 10)

Callers

nothing calls this directly

Calls 3

assert_Function · 0.90
params_0Function · 0.85
randomMethod · 0.80

Tested by

no test coverage detected