details:   http://hg.sympy.org/sympy/rev/74ceba3bd011
changeset: 1808:74ceba3bd011
user:      Ondrej Certik <[EMAIL PROTECTED]>
date:      Fri Oct 17 15:48:22 2008 +0200
description:
Tests for limits in the issue #991 added.

diffs (20 lines):

diff -r d972486455c2 -r 74ceba3bd011 sympy/series/tests/test_limits.py
--- a/sympy/series/tests/test_limits.py Fri Oct 17 15:48:22 2008 +0200
+++ b/sympy/series/tests/test_limits.py Fri Oct 17 15:48:22 2008 +0200
@@ -1,5 +1,5 @@
 from sympy import limit, exp, oo, log, sqrt, Limit, sin, floor, cos, ceiling, \
-        atan, Symbol, S
+        atan, Symbol, S, pi
 from sympy.abc import x, y, z
 from sympy.utilities.pytest import XFAIL
 
@@ -143,3 +143,9 @@
     assert limit( (1-cos(x))/x**2, x, S(1)/2) == 4 - 4*cos(S(1)/2)
     assert limit(sin(sin(x+1)+1), x, 0) == sin(1 + sin(1))
     assert limit(abs(sin(x+1)+1), x, 0) == 1 + sin(1)
+
+def test_issue991():
+    assert limit(1/(x+3), x, 2) == S(1)/5
+    assert limit(1/(x+pi), x, 2) == S(1)/(2+pi)
+    assert limit(log(x)/(x**2+3), x, 2) == log(2)/7
+    assert limit(log(x)/(x**2+pi), x, 2) == log(2)/(4+pi)

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to