MCPcopy Create free account
hub / github.com/numpy/numpy / test_bool

Method test_bool

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

Source from the content-addressed store, hash-verified

97 [[b'1', b''], [b'', b'1']])
98
99 def test_bool(self):
100 assert_equal(eye(2, 2, dtype=bool), [[True, False], [False, True]])
101
102 def test_order(self):
103 mat_c = eye(4, 3, k=-1)

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
eyeFunction · 0.90

Tested by

no test coverage detected