private void Unary(Scope scope, string left, double inc, Operator op, double expected) { var exp = new UnaryExpression(left, inc, op, scope); Assert.AreEqual(expected, exp.EvaluateAs <double>()); Assert.AreEqual(expected, scope.Get <double>(left)); }