Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ test_f
Method
test_f
numpy/random/tests/test_smoke.py:304–306 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
302
params_1(self.rg.exponential)
303
304
def
test_f(self):
305
vals = self.rg.f(3, 1000, 10)
306
assert_(len(vals) == 10)
307
308
def
test_gamma(self):
309
vals = self.rg.gamma(3, 2, 10)
Callers
nothing calls this directly
Calls
2
assert_
Function · 0.90
f
Method · 0.45
Tested by
no test coverage detected