public void AnalizeBracketsTest() { var wrongExpr = "2+2+(5*6))"; var correctExpr = "2+2+(5*6)"; var parser = new ExpressionParser(); Assert.IsFalse(parser.AnalyzeBrackets(wrongExpr)); Assert.IsTrue(parser.AnalyzeBrackets(correctExpr)); }