details: http://hg.sympy.org/sympy/rev/e821b980db2d changeset: 1810:e821b980db2d user: Ondrej Certik <[EMAIL PROTECTED]> date: Fri Oct 17 15:48:23 2008 +0200 description: Tests for the issue #605 added.
diffs (13 lines): diff -r 7d2a64c5aae9 -r e821b980db2d sympy/core/tests/test_basic.py --- a/sympy/core/tests/test_basic.py Fri Oct 17 15:48:23 2008 +0200 +++ b/sympy/core/tests/test_basic.py Fri Oct 17 15:48:23 2008 +0200 @@ -164,6 +164,9 @@ def test_leadterm2(): assert (x*cos(1)*cos(1 + sin(1)) + sin(1 + sin(1))).leadterm(x) == \ (sin(1 + sin(1)), 0) + +def test_leadterm3(): + assert (y+z+x).leadterm(x) == (y+z, 0) def test_as_leading_term2(): assert (x*cos(1)*cos(1 + sin(1)) + sin(1 + sin(1))).as_leading_term(x) == \ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy-commits" group. To post to this group, send email to sympy-commits@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sympy-commits?hl=en -~----------~----~----~----~------~----~------~--~---