Example #1
0
 def test_example_4(self):
     self.assertEqual(part1("BBFFBBFRLL"), 820)
Example #2
0
 def test_example_3(self):
     self.assertEqual(part1("FFFBBBFRRR"), 119)
Example #3
0
 def test_example_1(self):
     self.assertEqual(part1("FBFBBFFRLR"), 357)
Example #4
0
 def test_example_2(self):
     self.assertEqual(part1("BFFFBBFRRR"), 567)
Example #5
0
 def test_input(self):
     self.assertEqual(part1(get_input(2020, 5)), 953)