def METHOD_NAME(dtype):
    a = [[1, 4, 5], [2, 3, 1], [9, 5, 2]]
    b = [1, 2, 3]
    a_num = num.array(a).astype(dtype)
    b_num = num.array(b).astype(dtype)
    out = num.linalg.solve(a_num, b_num)
    rtol = RTOL[out.dtype]
    atol = ATOL[out.dtype]
    assert allclose(
        b_num, num.matmul(a_num, out), rtol=rtol, atol=atol, check_dtype=False
    )