risch: "robustify" test_heurisch_fractions()
risch: "robustify" test_heurisch_fractions()

When integrating depending on tests invokation order it either ruturns

    5*log(+2*x**6 - 5) / 12,     or
    5*log(-2*x**6 + 5) / 12


Since

    log(-x) = i + log(x)

both integration results are still correct, but I'd suspect something is wrong here.

Mateusz, I need your help to track this -- this does not depend on caching be
turned on or off.

Mateusz:

"""
Yes, both results are correct but we must finally do something to fix
this annoying behavior (I mean playing with minus sign in expressions
and dependence on term order which, in case of expressions, is almost
always irrevelant).

+1

Thanks,
Mateusz
"""


Signed-off-by: Kirill Smelkov <b0eeaac46e675e9f95bf68c0df1041cf581c26f4@landau.phys.spbu.ru>
Signed-off-by: Mateusz Paprocki <4e51c28eba28c1534bcc4a6bd2cccd314d8bf749@gmail.com>

kaushik94/sympy,ChristinaZografou/sympy,vipulroxx/sympy,AkademieOlympia/sympy,liangjiaxing/sympy,dqnykamp/sympy,Gadal/sympy,rahuldan/sympy,oliverlee/sympy,toolforger/sympy,wyom/sympy,Sumith1896/sympy,kmacinnis/sympy,yashsharan/sympy,hargup/sympy,minrk/sympy,emon10005/sympy,vipulroxx/sympy,debugger22/sympy,abhiii5459/sympy,pandeyadarsh/sympy,MridulS/sympy,shikil/sympy,ga7g08/sympy,beni55/sympy,Curious72/sympy,Gadal/sympy,jerli/sympy,ga7g08/sympy,Mitchkoens/sympy,meghana1995/sympy,madan96/sympy,jbaayen/sympy,lindsayad/sympy,kumarkrishna/sympy,Titan-C/sympy,vipulroxx/sympy,skidzo/sympy,sampadsaha5/sympy,kaichogami/sympy,AunShiLord/sympy,aktech/sympy,iamutkarshtiwari/sympy,mafiya69/sympy,Vishluck/sympy,atsao72/sympy,moble/sympy,VaibhavAgarwalVA/sympy,Arafatk/sympy,KevinGoodsell/sympy,garvitr/sympy,hrashk/sympy,kaichogami/sympy,MechCoder/sympy,postvakje/sympy,aktech/sympy,skirpichev/omg,hazelnusse/sympy-old,rahuldan/sympy,sampadsaha5/sympy,abloomston/sympy,garvitr/sympy,Designist/sympy,yukoba/sympy,srjoglekar246/sympy,jamesblunt/sympy,atreyv/sympy,farhaanbukhsh/sympy,souravsingh/sympy,Arafatk/sympy,rahuldan/sympy,AkademieOlympia/sympy,wyom/sympy,beni55/sympy,AunShiLord/sympy,iamutkarshtiwari/sympy,madan96/sympy,skidzo/sympy,skidzo/sympy,sahilshekhawat/sympy,chaffra/sympy,farhaanbukhsh/sympy,meghana1995/sympy,wanglongqi/sympy,kmacinnis/sympy,kmacinnis/sympy,mcdaniel67/sympy,MridulS/sympy,cccfran/sympy,drufat/sympy,souravsingh/sympy,kaushik94/sympy,pbrady/sympy,yashsharan/sympy,grevutiu-gabriel/sympy,sahmed95/sympy,liangjiaxing/sympy,MechCoder/sympy,garvitr/sympy,oliverlee/sympy,hazelnusse/sympy-old,hrashk/sympy,flacjacket/sympy,Davidjohnwilson/sympy,lidavidm/sympy,sahilshekhawat/sympy,chaffra/sympy,hargup/sympy,debugger22/sympy,jbbskinny/sympy,jbbskinny/sympy,jbbskinny/sympy,sunny94/temp,moble/sympy,minrk/sympy,abloomston/sympy,meghana1995/sympy,jerli/sympy,farhaanbukhsh/sympy,kaichogami/sympy,jerli/sympy,cccfran/sympy,postvakje/sympy,atsao72/sympy,Vishluck/sympy,pbrady/sympy,chaffra/sympy,drufat/sympy,toolforger/sympy,abhiii5459/sympy,Sumith1896/sympy,lidavidm/sympy,Vishluck/sympy,Davidjohnwilson/sympy,lidavidm/sympy,dqnykamp/sympy,wanglongqi/sympy,beni55/sympy,asm666/sympy,Curious72/sympy,Gadal/sympy,shikil/sympy,jaimahajan1997/sympy,Titan-C/sympy,Davidjohnwilson/sympy,kevalds51/sympy,pandeyadarsh/sympy,sahilshekhawat/sympy,Designist/sympy,Arafatk/sympy,AkademieOlympia/sympy,kumarkrishna/sympy,VaibhavAgarwalVA/sympy,debugger22/sympy,yashsharan/sympy,grevutiu-gabriel/sympy,ahhda/sympy,diofant/diofant,toolforger/sympy,pandeyadarsh/sympy,yukoba/sympy,jaimahajan1997/sympy,abloomston/sympy,amitjamadagni/sympy,atsao72/sympy,emon10005/sympy,Mitchkoens/sympy,mattpap/sympy-polys,yukoba/sympy,ahhda/sympy,bukzor/sympy,pernici/sympy,maniteja123/sympy,mcdaniel67/sympy,kumarkrishna/sympy,tovrstra/sympy,postvakje/sympy,iamutkarshtiwari/sympy,shipci/sympy,maniteja123/sympy,cswiercz/sympy,asm666/sympy,shikil/sympy,dqnykamp/sympy,amitjamadagni/sympy,Sumith1896/sympy,MridulS/sympy,mafiya69/sympy,lindsayad/sympy,Shaswat27/sympy,cswiercz/sympy,wyom/sympy,Curious72/sympy,MechCoder/sympy,emon10005/sympy,jaimahajan1997/sympy,saurabhjn76/sympy,ahhda/sympy,ryanGT/sympy,Shaswat27/sympy,sunny94/temp,aktech/sympy,wanglongqi/sympy,asm666/sympy,saurabhjn76/sympy,oliverlee/sympy,VaibhavAgarwalVA/sympy,sahmed95/sympy,maniteja123/sympy,kevalds51/sympy,Designist/sympy,atreyv/sympy,grevutiu-gabriel/sympy,bukzor/sympy,kevalds51/sympy,shipci/sympy,drufat/sympy,shipci/sympy,sampadsaha5/sympy,jamesblunt/sympy,fperez/sympy,Shaswat27/sympy,Mitchkoens/sympy,moble/sympy,cccfran/sympy,liangjiaxing/sympy,lindsayad/sympy,madan96/sympy,mafiya69/sympy,Titan-C/sympy,jamesblunt/sympy,ga7g08/sympy,atreyv/sympy,AunShiLord/sympy,saurabhjn76/sympy,ChristinaZografou/sympy,pbrady/sympy,cswiercz/sympy,hrashk/sympy,abhiii5459/sympy,mcdaniel67/sympy,hargup/sympy,bukzor/sympy,ChristinaZografou/sympy,sahmed95/sympy,sunny94/temp,souravsingh/sympy,kaushik94/sympy