From 1cffed1854cc3ae7d50d304b2ae6c91a306e280f Mon Sep 17 00:00:00 2001 From: James Vega Date: Mon, 9 Feb 2004 03:09:08 +0000 Subject: [PATCH] I should commit the test, too. --- test/test_Math.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/test_Math.py b/test/test_Math.py index 8601051bb..a0cba15ac 100644 --- a/test/test_Math.py +++ b/test/test_Math.py @@ -60,7 +60,12 @@ class MathTestCase(PluginTestCase, PluginDocumentation): self.assertRegexp('base 4 4', 'Invalid ') self.assertRegexp('base 10 12 A', 'Invalid ') - + print + print "If we have not fixed a bug with Math.base, the following ", + print "tests will hang the test-suite." + self.assertRegexp('base 2 10 [base 10 2 -12]', '-12') + self.assertRegexp('base 16 2 [base 2 16 -110101]', '-110101') + def testCalc(self): self.assertResponse('calc 5*0.06', str(5*0.06)) self.assertResponse('calc 2.0-7.0', str(2-7))