示例#1
0
 def test_true_2(self):
     self.assertTrue(smile('{({})[][]}'))
示例#2
0
 def test_false_3(self):
     self.assertFalse(smile('{[}[](])'))
示例#3
0
 def test_true_1(self):
     self.assertTrue(smile('((()))'))
示例#4
0
 def test_false_2(self):
     self.assertFalse(smile('[[festival sveta otstoy}}'))
示例#5
0
 def test_false_1(self):
     self.assertFalse(smile('))))0000)))'))
示例#6
0
 def test_true_4(self):
     self.assertTrue(smile(''))
示例#7
0
 def test_true_3(self):
     self.assertTrue(smile('[ya] {fanat} (flake8)'))
示例#8
0
from HW4.task1.smile_logic import smile

text = input("Введите строку:")
print("Результат проверки:", smile(text))