Searched refs:_evaluate (Results 1 – 1 of 1) sorted by relevance
10 def _evaluate(self, expr, expected, errors=[]): member in t015calc21 self._evaluate("1 + 2", 3)25 self._evaluate("1 + 2 * 3", 7)29 self._evaluate("10 / 2", 5)33 self._evaluate("6 + 2*(3+1) - 4", 10)37 self._evaluate("6 - (2*1", 4, ["mismatched token at pos 8"])