public void MultiplyExpressionConstructorTest()
        {
            Expression operand1 = new DummyExpression(); // TODO: Initialize to an appropriate value
            Expression operand2 = new DummyExpression(); // TODO: Initialize to an appropriate value
            MultiplyExpression target = new MultiplyExpression(operand1, operand2);

            Assert.AreEqual<Expression>(operand1, target.Operand1);
            Assert.AreEqual<Expression>(operand2, target.Operand2);
        }
        public void IsLeftAssociateTest()
        {
            Expression operand1 = new DummyExpression(); // TODO: Initialize to an appropriate value
            Expression operand2 = new DummyExpression(); // TODO: Initialize to an appropriate value
            MultiplyExpression target = new MultiplyExpression(operand1, operand2); // TODO: Initialize to an appropriate value

            bool expected = true; // TODO: Initialize to an appropriate value
            bool actual;
            actual = target.IsLeftAssociate();

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

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

            Assert.AreEqual<int>(expected, actual);
        }
        public void SolveTest()
        {
            Expression operand1 = new ValueExpression(10); // TODO: Initialize to an appropriate value
            Expression operand2 = new ValueExpression(4); // TODO: Initialize to an appropriate value
            MultiplyExpression target = new MultiplyExpression(operand1, operand2); // TODO: Initialize to an appropriate value

            Expression actual;
            actual = target.Solve();

            Assert.AreEqual<Double>(((ValueExpression)actual).GetValue(), 40);
        }