MCPcopy
hub / github.com/numpy/numpy / test_bool

Method test_bool

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

Source from the content-addressed store, hash-verified

115 [[b'1', b''], [b'', b'1']])
116
117 def test_bool(self):
118 assert_equal(eye(2, 2, dtype=bool), [[True, False], [False, True]])
119
120 def test_order(self):
121 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