Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ test_round
Method
test_round
numpy/core/tests/test_regression.py:118–121 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
116
h[
'x'
]
117
118
def
test_round(self):
119
# Ticket #67
120
x = np.array([1+2j])
121
assert_almost_equal(x**(-1), [1/(1+2j)])
122
123
def
test_scalar_compare(self):
124
# Trac Ticket #72
Callers
nothing calls this directly
Calls
1
assert_almost_equal
Function · 0.90
Tested by
no test coverage detected