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