Skip to content

Commit

Permalink
Add regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Feb 22, 2021
1 parent dbf8a86 commit 199eaae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions diofant/tests/integrals/test_integrals.py
Expand Up @@ -1330,3 +1330,7 @@ def test_sympyissue_20360():
(2*exp(pi*y*(n - Rational(1, 2)))/(2*pi*n - pi) -
2/(2*pi*n - pi), True))
assert integrate(e, (x, 0, y)) == r


def test_sympyissue_20941():
assert integrate(x**2*sqrt(1 - x**2), (x, 0, 1)) == pi/16
1 change: 1 addition & 0 deletions docs/release/notes-0.13.rst
Expand Up @@ -36,3 +36,4 @@ These Sympy issues also were addressed:
* :sympyissue:`20861`: reduce_inequalities() gives impossible answer
* :sympyissue:`20874`: Port the PRS algorithm to the sparse polynomial implementation
* :sympyissue:`20902`: Incorrect inequality solving: False returned instead of answer
* :sympyissue:`20941`: Fails to Solve Definite Integral

0 comments on commit 199eaae

Please sign in to comment.