Exemplo n.º 1
0
 public AsmParser(AsmContext context)
 {
     _context = context;
     _calculator = new ExpressionCalculator(context);
 }
 public void PositiveTests(string expression, long result)
 {
     var expr = new ExpressionCalculator(null).Parse(expression);
     Assert.AreEqual(result, expr.Evaluate());
 }