Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ test_argmax_byteorder
Method
test_argmax_byteorder
numpy/core/tests/test_regression.py:783–786 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
781
assert_array_equal(x.argsort(kind=
'm'
), np.arange(32))
782
783
def
test_argmax_byteorder(self):
784
# Ticket #546
785
a = np.arange(3, dtype=
'>f'
)
786
assert_(a[a.argmax()] == a.max())
787
788
def
test_rand_seed(self):
789
# Ticket #555
Callers
nothing calls this directly
Calls
3
assert_
Function · 0.90
argmax
Method · 0.45
max
Method · 0.45
Tested by
no test coverage detected