completed testing of previous puzzles
This commit is contained in:
parent
23b6ce30b4
commit
8ad4c517c2
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue