diff --git a/day4/test_day4.py b/day4/test_day4.py index 7c9482f..31d3bcb 100644 --- a/day4/test_day4.py +++ b/day4/test_day4.py @@ -59,7 +59,7 @@ def test_part1_example1(example1): """Test part 1 on example input""" assert aoc.part1(example1) == 2 -@pytest.mark.skip(reason="Not implemented") -def test_part2_example2(example2): +# @pytest.mark.skip(reason="Not implemented") +def test_part2_example2(example1): """Test part 2 on example input""" - assert aoc.part2(example2) == ... + assert aoc.part2(example1) == 2 diff --git a/day5/test_day5.py b/day5/test_day5.py index 6cb4b61..d634049 100644 --- a/day5/test_day5.py +++ b/day5/test_day5.py @@ -14,7 +14,7 @@ def example1(): @pytest.fixture def example2(): - puzzle_input = (PUZZLE_DIR / "example2").read_text().strip() + puzzle_input = (PUZZLE_DIR / "input").read_text().strip() return aoc.parse(puzzle_input) # @pytest.mark.skip(reason="Not implemented") @@ -27,7 +27,7 @@ def test_part1_example1(example1): """Test part 1 on example input""" assert aoc.part1(example1) == 820 -@pytest.mark.skip(reason="Not implemented") +# @pytest.mark.skip(reason="Not implemented") def test_part2_example2(example2): """Test part 2 on example input""" - assert aoc.part2(example2) == ... + assert aoc.part2(example2) == 640