public void OJ032_LongestValidParenthesesTest2() { int result = new OJ032_LongestValidParentheses().LongestValidParentheses(")()())"); Assert.AreEqual(4, result); }
public void OJ032_LongestValidParenthesesTest1() { int result = new OJ032_LongestValidParentheses().LongestValidParentheses("(()"); Assert.AreEqual(2, result); }