mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Added icalc test.
This commit is contained in:
parent
3606658ff1
commit
41fd7c7887
@ -43,9 +43,9 @@ class MathTestCase(PluginTestCase, PluginDocumentation):
|
|||||||
self.assertNotRegexp('calc [9, 5] + [9, 10]', 'TypeError')
|
self.assertNotRegexp('calc [9, 5] + [9, 10]', 'TypeError')
|
||||||
self.assertError('calc [9, 5] + [9, 10]')
|
self.assertError('calc [9, 5] + [9, 10]')
|
||||||
self.assertNotError('calc degrees(2)')
|
self.assertNotError('calc degrees(2)')
|
||||||
# Bug in Python <= 2.3.2.
|
|
||||||
## self.assertNotError('calc log(8,2)')
|
def testICalc(self):
|
||||||
## self.assertNotError('calc log(8,2)')
|
self.assertResponse('icalc 1^1', '0')
|
||||||
|
|
||||||
def testCalcNoNameError(self):
|
def testCalcNoNameError(self):
|
||||||
self.assertNotRegexp('calc foobar(x)', 'NameError')
|
self.assertNotRegexp('calc foobar(x)', 'NameError')
|
||||||
|
Loading…
Reference in New Issue
Block a user