Exemplo n.º 1
0
        public void IsThereSubtractionSymbolAfterOtherSymbolsTest()
        {
            mathExpression = MathExpression.CreateExpressionDobuleSubtractionOperators();
            bool falseExpected = Condition.IsThereSubtractionSymbolAfterOtherSymbols(mathExpression, 1);
            bool trueExpected  = Condition.IsThereSubtractionSymbolAfterOtherSymbols(mathExpression, 4);

            Assert.IsFalse(falseExpected);
            Assert.IsTrue(trueExpected);
        }