mirror of
				https://github.com/Mikaela/Limnoria.git
				synced 2025-11-04 01:27:21 +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.assertError('calc [9, 5] + [9, 10]')
 | 
			
		||||
        self.assertNotError('calc degrees(2)')
 | 
			
		||||
# Bug in Python <= 2.3.2.
 | 
			
		||||
##         self.assertNotError('calc log(8,2)')
 | 
			
		||||
##         self.assertNotError('calc log(8,2)')
 | 
			
		||||
 | 
			
		||||
    def testICalc(self):
 | 
			
		||||
        self.assertResponse('icalc 1^1', '0')
 | 
			
		||||
 | 
			
		||||
    def testCalcNoNameError(self):
 | 
			
		||||
        self.assertNotRegexp('calc foobar(x)', 'NameError')
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user