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

Function test_scalar_multiply

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

Source from the content-addressed store, hash-verified

95
96@pytest.mark.mat_ops
97def test_scalar_multiply():
98 act = (3.5 * np.array(mat_a)).tolist()
99 theo = matop.scalar_multiply(mat_a, 3.5)
100 assert theo == act
101
102
103@pytest.mark.mat_ops

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected