Re: [PATCH 5/6] Remove code related to .is_even and .is_odd from core classes

2009-08-12 Thread Vinzent Steinberg
2009/8/12 Fabian Pedregosa > > Vinzent Steinberg wrote: > > > > Some questions: > > > > You did remove some tests. Are these things tested elsewhere? Things like > > > > >>> ask(2*n+1, Q.odd, Assume(n, Q.integer)) > > True > > I think that's in sympy/queries/tests/test_query.py line 797 > > > >

Re: [PATCH 5/6] Remove code related to .is_even and .is_odd from core classes

2009-08-12 Thread Fabian Pedregosa
Vinzent Steinberg wrote: > 2009/8/11 Fabian Pedregosa mailto:fab...@fseoane.net>> > > > No behaviour has changed, except for: > >- Real ** Even does not always get symplified by refine() to > abs(Real) ** Even, > only in the case of nested powers. This is now the same >

Re: [PATCH 5/6] Remove code related to .is_even and .is_odd from core classes

2009-08-11 Thread Vinzent Steinberg
2009/8/11 Fabian Pedregosa > > No behaviour has changed, except for: > >- Real ** Even does not always get symplified by refine() to abs(Real) > ** Even, > only in the case of nested powers. This is now the same behaviour as > Mathematica. > > Relevant tests moved to queries/test/test_qu

[PATCH 5/6] Remove code related to .is_even and .is_odd from core classes

2009-08-10 Thread Fabian Pedregosa
No behaviour has changed, except for: - Real ** Even does not always get symplified by refine() to abs(Real) ** Even, only in the case of nested powers. This is now the same behaviour as Mathematica. Relevant tests moved to queries/test/test_queries.py and refine/tests/test_refine.p