Exemplo n.º 1
0
 def test_valid_row1(self):
     data = "(((()())))"
     self.assertEqual(True, check_brackets_in_string(data),
                      "valid case 1. %{0} must be valid".format(data))
Exemplo n.º 2
0
 def test_invalid_row7(self):
     data = "(()()"
     self.assertEqual(False, check_brackets_in_string(data),
                      "invalid case 7. %{0} must be invalid".format(data))