예제 #1
0
 def test_paranthese_bien_4(self):
     self.assertEqual(ex2("((((((()))))))"), "(((((((.)))))))")
예제 #2
0
 def test_non_parenthese_4(self):
     value_returned = str(ex2("(()))")).lower()
     self.assertIn("corr", value_returned)
예제 #3
0
 def test_paranthese_bien_1(self):
     self.assertEqual(ex2("()"), "(.)")