Пример #1
0
 def test_example_4(self):
     self.assertEqual(part1("se,sw,se,sw,sw"), 3)
Пример #2
0
 def test_example_3(self):
     self.assertEqual(part1("ne,ne,s,s"), 2)
Пример #3
0
 def test_example_1(self):
     self.assertEqual(part1("ne,ne,ne"), 3)
Пример #4
0
 def test_example_2(self):
     self.assertEqual(part1("ne,ne,sw,sw"), 0)
Пример #5
0
 def test_input(self):
     self.assertEqual(part1(get_input(2017, 11)), 784)