예제 #1
0
파일: test.py 프로젝트: G-story/algorithm
 def test2(self):
     self.assertEqual(Brackets2.get_is_correct('({[}])'), 'NO')
예제 #2
0
파일: test.py 프로젝트: G-story/algorithm
 def test5(self):
     self.assertEqual(Brackets2.get_is_correct('['), 'NO')
예제 #3
0
파일: test.py 프로젝트: G-story/algorithm
 def test1(self):
     self.assertEqual(Brackets2.get_is_correct('()()'), 'YES')
예제 #4
0
파일: test.py 프로젝트: G-story/algorithm
 def test3(self):
     self.assertEqual(Brackets2.get_is_correct('({}[(){}])'), 'YES')