Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ test_zeros
Method
test_zeros
numpy/_core/tests/test_numeric.py:3373–3374 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
3371
assert_equal(arr, dtype.type(val))
3372
3373
def
test_zeros(self):
3374
self.check_function(np.zeros)
3375
3376
def
test_ones(self):
3377
self.check_function(np.ones)
Callers
nothing calls this directly
Calls
1
check_function
Method · 0.95
Tested by
no test coverage detected