Пример #1
0
        public void ShouldVerifyThatExpressionHasCorrectOpeningAndClosingDelimiters(string expression, bool isCorrect)
        {
            // Arrange
            var brackets = new Brackets(expression);

            // Act
            var result = brackets.Check();

            // Assert
            Assert.AreEqual(isCorrect, result);
        }