Skip to content

Commit

Permalink
Add regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Jun 1, 2021
1 parent 01613c6 commit 4dc3a29
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
Original file line number Diff line number Diff line change
Expand Up @@ -1399,3 +1399,7 @@ def test_sympyissue_21024():

def test_sympyissue_21166():
assert integrate(sin(x/sqrt(abs(x))), (x, -1, 1)) == 0


def test_sympyissue_21549():
assert integrate(x*sqrt(abs(x)), (x, -1, 0)) == Rational(-2, 5)
1 change: 1 addition & 0 deletions docs/release/notes-0.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,4 @@ These Sympy issues also were addressed:
* :sympyissue:`21486`: expand_func(besselj(oo, x)) -> RecursionError
* :sympyissue:`21530`: Incorrect limit
* :sympyissue:`21166`: Wrong integration result involving square root of absolute value
* :sympyissue:`21549`: Bug: integrate(x*sqrt(abs(x)),(x,-1,0)) returns wrong result

0 comments on commit 4dc3a29

Please sign in to comment.