public void CheckBracketsTest1() { string testInput = "{[]}()"; CheckBracket cb = new CheckBracket(); var result = cb.Check_Brackets(testInput); Assert.AreEqual(result, -1); }
public void CheckBracketsTest3() { string testInput = "foo(bar[i);"; CheckBracket cb = new CheckBracket(); var result = cb.Check_Brackets(testInput); Assert.AreEqual(result, 10); }