completed testing of previous puzzles

This commit is contained in:
gabe 2022-09-13 17:50:55 -05:00
parent 23b6ce30b4
commit 8ad4c517c2
2 changed files with 6 additions and 6 deletions

View file

@ -59,7 +59,7 @@ def test_part1_example1(example1):
"""Test part 1 on example input""" """Test part 1 on example input"""
assert aoc.part1(example1) == 2 assert aoc.part1(example1) == 2
@pytest.mark.skip(reason="Not implemented") # @pytest.mark.skip(reason="Not implemented")
def test_part2_example2(example2): def test_part2_example2(example1):
"""Test part 2 on example input""" """Test part 2 on example input"""
assert aoc.part2(example2) == ... assert aoc.part2(example1) == 2

View file

@ -14,7 +14,7 @@ def example1():
@pytest.fixture @pytest.fixture
def example2(): def example2():
puzzle_input = (PUZZLE_DIR / "example2").read_text().strip() puzzle_input = (PUZZLE_DIR / "input").read_text().strip()
return aoc.parse(puzzle_input) return aoc.parse(puzzle_input)
# @pytest.mark.skip(reason="Not implemented") # @pytest.mark.skip(reason="Not implemented")
@ -27,7 +27,7 @@ def test_part1_example1(example1):
"""Test part 1 on example input""" """Test part 1 on example input"""
assert aoc.part1(example1) == 820 assert aoc.part1(example1) == 820
@pytest.mark.skip(reason="Not implemented") # @pytest.mark.skip(reason="Not implemented")
def test_part2_example2(example2): def test_part2_example2(example2):
"""Test part 2 on example input""" """Test part 2 on example input"""
assert aoc.part2(example2) == ... assert aoc.part2(example2) == 640