예제 #1
0
 def test_TestCase5(self):
     sln = isValid.Solution()
     self.assertTrue(sln.isValid("{[]}"))
예제 #2
0
 def test_TestCase2(self):
     sln = isValid.Solution()
     self.assertTrue(sln.isValid("()[]{}"))
예제 #3
0
 def test_TestCase4(self):
     sln = isValid.Solution()
     self.assertFalse(sln.isValid("([)]"))