def test_part1_sample(sample_data): assert part1(sample_data) == 14897079
def test_part1_input(self): num_constellations = day25.part1(aoc.read_input('day25.input')) self.assertEqual(375, num_constellations)
def test_part1_input(self): result = day25.part1(aoc.read_input('day25.input')) self.assertEqual('229384', result)
def test_part1_example4(self): num_constellations = day25.part1(self.example_input4) self.assertEqual(8, num_constellations)
def test_part1_on_example_data(self): input = (5764801, 17807724) self.assertEqual(part1(input), 14897079)
def test_part1(puzzle_input, answer): assert part1(puzzle_input) == answer
def test_day25_part1(): assert day25.part1(5764801, 17807724) == 14897079
def test_25_1_examples(): examples = [] for (inp, out) in examples: assert out == day25.part1(inp)