Beispiel #1
0
 def test_mock_2(self):
     self.assertEqual(part1("xxydf"), "xxyzz")
Beispiel #2
0
 def test_mock_1(self):
     self.assertEqual(part1("bbccc"), "bbcdd")
Beispiel #3
0
 def test_example_1(self):
     self.assertEqual(part1("abcdefgh"), "abcdffaa")
Beispiel #4
0
 def test_example_2(self):
     self.assertEqual(part1("ghijklmn"), "ghjaabcc")
Beispiel #5
0
 def test_input(self):
     self.assertEqual(part1(get_input(2015, 11)), "hxbxxyzz")