public void NegateExpressionConstructorTest()
        {
            Expression operand1 = new ValueExpression(3); // TODO: Initialize to an appropriate value
            NegateExpression target = new NegateExpression(operand1);

            Assert.AreEqual<Expression>(operand1, target.Operand);
        }
        public void IsLeftAssociateTest()
        {
            Expression operand1 = new DummyExpression(); // TODO: Initialize to an appropriate value
            NegateExpression target = new NegateExpression(operand1); // TODO: Initialize to an appropriate value
            bool expected = false; // TODO: Initialize to an appropriate value
            bool actual;
            actual = target.IsLeftAssociate();

            Assert.AreEqual(expected, actual);
        }
        public void GetOperatorPrecedenceTest()
        {
            Expression operand1 = new DummyExpression(); // TODO: Initialize to an appropriate value
            NegateExpression target = new NegateExpression(operand1); // TODO: Initialize to an appropriate value

            int expected = 4; // TODO: Initialize to an appropriate value
            int actual;
            actual = target.GetOperatorPrecedence();

            Assert.AreEqual(expected, actual);
        }
        public void SolveTest()
        {
            Expression operand1 = new ValueExpression(10); // TODO: Initialize to an appropriate value
            NegateExpression target = new NegateExpression(operand1); // TODO: Initialize to an appropriate value
            Expression expected = new ValueExpression(-10); // TODO: Initialize to an appropriate value
            Expression actual;
            actual = target.Solve();

            Assert.AreEqual(expected, actual);
        }