Esempio n. 1
0
 def test_parentheses(self):
     t = fixoperator("(",[])
     s = '*('
     self.assertEqual(t, s, 'problem with parentheses')
Esempio n. 2
0
 def test_function_call(self):
     t = fixoperator("(",[('F', '*', 'log')])
     s = '('
     self.assertEqual(t, s, 'problem with function call')
Esempio n. 3
0
 def test_implicit_multiplication(self):
     t = fixoperator(" ",[])
     s = ' *'
     self.assertEqual(t, s, 'problem with implied multiplication')