MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / test_identity

Function test_identity

matrix/tests/test_matrix_operation.py:104–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102
103@pytest.mark.mat_ops
104def test_identity():
105 act = (np.identity(5)).tolist()
106 theo = matop.identity(5)
107 assert theo == act
108
109
110@pytest.mark.mat_ops

Callers

nothing calls this directly

Calls 1

identityMethod · 0.80

Tested by

no test coverage detected