def test_9(self): expected = "Success" actual = check_brackets("foo(bar);") self.assertEqual(expected, actual)
def test_0(self): expected = "Success" actual = check_brackets("") self.assertEqual(expected, actual)
def test_7(self): expected = 3 actual = check_brackets("{[}") self.assertEqual(expected, actual)
def test_8(self): expected = 10 actual = check_brackets("foo(bar[i);") self.assertEqual(expected, actual)
def test_6(self): expected = 1 actual = check_brackets("{") self.assertEqual(expected, actual)