def test_zero_matrix(self, backend, mat):
        mat.zero()
        expected_matrix = np.zeros((4, 4), dtype=valuetype)
        eps = 1.e-14
        assert_allclose(mat.values, expected_matrix, eps)
Test that the matrix is zeroed correctly.
dataset/ETHPy150Open OP2/PyOP2/test/unit/test_matrices.py/TestMatrices.test_zero_matrix