public void BracketChecker1_1_EmptyString() { // Arrange string str = ""; bool expected = true; // Act bool actual = BracketChecker.CheckBrackets(str); // Assert Assert.AreEqual(expected, actual); }
public void BracketChecker1_5_TooManyClosingParentheses() { // Arrange string str = "((())()))"; bool expected = false; // Act bool actual = BracketChecker.CheckBrackets(str); // Assert Assert.AreEqual(expected, actual); }
public void BracketChecker1_6_NumbersOkButTooManyClosing() { // Arrange string str = "(()))("; bool expected = false; // Act bool actual = BracketChecker.CheckBrackets(str); // Assert Assert.AreEqual(expected, actual); }
public void BracketChecker1_3_MultipleParentheses() { // Arrange string str = "((())())"; bool expected = true; // Act bool actual = BracketChecker.CheckBrackets(str); // Assert Assert.AreEqual(expected, actual); }