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

Method test_uint64

numpy/lib/tests/test_twodim_base.py:59–63  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

57 eye(3, dtype=bool))
58
59 def test_uint64(self):
60 # Regression test for gh-9982
61 assert_equal(eye(np.uint64(2), dtype=int), array([[1, 0], [0, 1]]))
62 assert_equal(eye(np.uint64(2), M=np.uint64(4), k=np.uint64(1)),
63 array([[0, 1, 0, 0], [0, 0, 1, 0]]))
64
65 def test_diag(self):
66 assert_equal(eye(4, k=1),

Callers

nothing calls this directly

Calls 3

assert_equalFunction · 0.90
eyeFunction · 0.90
arrayFunction · 0.90

Tested by

no test coverage detected