From fc6e58ad11646400df6d8a873f9052e62693f376 Mon Sep 17 00:00:00 2001 From: Taddeus Kroes <taddeuskroes@gmail.com> Date: Tue, 12 Jun 2012 23:39:43 +0200 Subject: [PATCH] Added a slightly different sphere volume test, which fails (should succeed). --- tests/test_validation.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_validation.py b/tests/test_validation.py index d9fd60b..48c4972 100644 --- a/tests/test_validation.py +++ b/tests/test_validation.py @@ -44,3 +44,7 @@ class TestValidation(TestCase): def test_sphere_volume(self): self.assertTrue(validate('int_(-r)^(r) pi * (r^2 - x^2) dx', '4 / 3 * pi * r ^ 3')) + + #def test_sphere_volume_alternative(self): + # self.assertTrue(validate('int_(-r)^(r) pi * (r^2 - x^2) dx', + # '4 * pi * r ^ 3 / 3')) -- GitLab