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

Method test_list

numpy/matrixlib/tests/test_defmatrix.py:395–396  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

393 assert_(type(matrix_power(a, 2)) is matrix)
394
395 def test_list(self):
396 assert_array_equal(matrix_power([[0, 1], [0, 0]], 2), [[0, 0], [0, 0]])
397
398
399class TestShape:

Callers

nothing calls this directly

Calls 2

assert_array_equalFunction · 0.90
matrix_powerFunction · 0.90

Tested by

no test coverage detected