Skip to content

Commit

Permalink
Add test for sympy/sympy#4231
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Feb 22, 2016
1 parent bc98dd2 commit fb411d5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sympy/integrals/tests/test_integrals.py
Original file line number Diff line number Diff line change
Expand Up @@ -1114,3 +1114,9 @@ def test_issue_10567():
vt = Matrix([a*t, b, c])
assert integrate(vt, t) == Integral(vt, t).doit()
assert integrate(vt, t) == Matrix([[a*t**2/2], [b*t], [c*t]])


def test_issue_4231():
e = (1 + 2*x + sqrt(x + log(x))*(1 + 3*x) +
x**2)/(x*(x + sqrt(x + log(x)))*sqrt(x + log(x)))
assert integrate(e, x) == 2*log(x + sqrt(x + log(x))) + 2*sqrt(x + log(x))

0 comments on commit fb411d5

Please sign in to comment.