Пример #1
0
 def test_example_6(self):
     self.assertEqual(part2("<!!!>>"), 0)
Пример #2
0
 def test_example_7(self):
     self.assertEqual(part2('<{o"i!a,<{i<a>'), 10)
Пример #3
0
 def test_example_4(self):
     self.assertEqual(part2("<{!>}>"), 2)
Пример #4
0
 def test_example_3(self):
     self.assertEqual(part2("<<<<>"), 3)
Пример #5
0
 def test_example_2(self):
     self.assertEqual(part2("<random characters>"), 17)
Пример #6
0
 def test_example_1(self):
     self.assertEqual(part2("<>"), 0)
Пример #7
0
 def test_input(self):
     self.assertEqual(part2(get_input(2017, 9)), 5288)