

def test_simple_sym(self):
    a = [[2, 3], [3, 5]]
    for lower in [0, 1]:
        for b in ([[1, 0], [0, 1]], [1, 0]):
            x = solve(a, b, sym_pos=1, lower=lower)
            assert_array_almost_equal(dot(a, x), b)

dataset/ETHPy150Open scipy/scipy/scipy/linalg/tests/test_basic.py TestSolve.test_simple_sym/original