Commit f5df4542 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Comment cleanup.

parent dadd40a4
...@@ -34,7 +34,8 @@ ...@@ -34,7 +34,8 @@
- Add error message to exception in frontend. - Add error message to exception in frontend.
# Now works: # The following now works:
# "apia" no succesfully results in "a * pi * a"
# int_(-3)^(3) \pi (3^2 - x^2) dx -> 36pi # int_(-3)^(3) \pi (3^2 - x^2) dx -> 36pi
# int_(-r)^(r) \pi (r^2 - x^2) dx -> 4 / 3 * pi * r ^ 3 # int_(-r)^(r) \pi (r^2 - x^2) dx -> 4 / 3 * pi * r ^ 3
# "&" instead of "^^" # "&" instead of "^^"
...@@ -128,7 +128,6 @@ class TestParser(RulesTestCase): ...@@ -128,7 +128,6 @@ class TestParser(RulesTestCase):
self.assertEqual(tree('d/dx x ^ 2 + x'), der(exp, x) + x) self.assertEqual(tree('d/dx x ^ 2 + x'), der(exp, x) + x)
self.assertEqual(tree('d/dx (x ^ 2 + x)'), der(exp + x, x)) self.assertEqual(tree('d/dx (x ^ 2 + x)'), der(exp + x, x))
self.assertEqual(tree('d/d'), d / d) self.assertEqual(tree('d/d'), d / d)
# FIXME: self.assertEqual(tree('d(x ^ 2)/dx'), der(exp, x))
def test_logarithm(self): def test_logarithm(self):
x, g = tree('x, g') x, g = tree('x, g')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment