(self)
| 8 | def assertResult(self,expression, result): |
| 9 | self.assertEqual(context.evaluate(expression),result) |
| 10 | def testAddition(self): |
| 11 | expr=OMA(arith1.plus,[2,3]) |
| 12 | self.assertEqual(len(expr.args),2) |
| 13 | self.assertResult(expr,5) |
| 14 | def testMultiplication(self): |
| 15 | expr=OMA(arith1.times,[4,3]) |
| 16 | self.assertResult(expr,12) |
nothing calls this directly
no test coverage detected