예제 #1
0
        public void Parens_Test08()
        {
            Parens p = new Parens("(((()())(())()()))");

            Assert.AreEqual(p.IsBalanced, 1);
        }
예제 #2
0
        public void Parens_Test11()
        {
            Parens p = new Parens("((");

            Assert.AreEqual(p.IsBalanced, 0);
        }
예제 #3
0
        public void Parens_Test04()
        {
            Parens p = new Parens("()");

            Assert.AreEqual(p.IsBalanced, 1);
        }