def test_9(self): test = ParenChecker(StringIO("(([] { () })")) self.assertFalse(test.run())
def test_5(self): test = ParenChecker(StringIO("())")) self.assertFalse(test.run())
def test_6(self): test = ParenChecker(StringIO("(([] {}) ())")) self.assertTrue(test.run())
def test_1(self): test = ParenChecker(StringIO("( )")) self.assertTrue(test.run())