def test_part1(): assert part1(expenses) == 514579
def test_part1_returns_expected_answer(self): self.assertEqual(part1(), 418237)
def test_part1(): assert part1(entries) == 2
def test_part1(): assert part1(map_lines) == 7
def test_part1_returns_expected_answer(self): self.assertEqual(part1(), 'AHJDBEMNFQUPVXGCTYLWZKSROI')
def test_part1(): assert part1(["FBFBBFFRLR"]) == 357 assert part1(["BFFFBBFRRR"]) == 567 assert part1(["FFFBBBFRRR"]) == 119 assert part1(["BBFFBBFRLL"]) == 820 assert part1(["FBFBBFFRLR", "BFFFBBFRRR", "FFFBBBFRRR", "BBFFBBFRLL"]) == 820
def test_part1(): assert part1(passports) == 2