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