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

diffs (19 lines):

diff -r 30afdf8fa519 -r b13aebd9dc64 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
+        atan, Symbol, S
 from sympy.abc import x, y, z
 from sympy.utilities.pytest import XFAIL
 
@@ -138,3 +138,8 @@
 
 def test_bug693a():
     assert sin(sin(x+1)+1).limit(x,0) == sin(sin(1)+1)
+
+def test_issue693():
+    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)

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