MCPcopy Index your code
hub / github.com/numpy/numpy / test_argmax_byteorder

Method test_argmax_byteorder

numpy/_core/tests/test_regression.py:796–799  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

794 assert_array_equal(x.argsort(kind='m'), np.arange(32))
795
796 def test_argmax_byteorder(self):
797 # Ticket #546
798 a = np.arange(3, dtype='>f')
799 assert_(a[a.argmax()] == a.max())
800
801 def test_rand_seed(self):
802 # Ticket #555

Callers

nothing calls this directly

Calls 3

assert_Function · 0.90
argmaxMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected