Skip to content

Commit

Permalink
chore: day 11 tests fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
GriceTurrble committed Dec 11, 2024
1 parent 0cc2920 commit d6f776a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions 2024/python/src/grice_py_aoc_2024/day11/test_day11.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,18 @@
DIR = Path(__file__).parent
TEST_FILE = DIR.parents[3] / "inputs/tests" / f"test_{DIR.stem}.txt"
EXPECTED_PART_1 = 55312
EXPECTED_PART_2 = "REPLACE ME!"
# The problem actually does not report this number.
# After solving it naturally, this result came back in tests.
# So, we roll with it!
EXPECTED_PART_2 = 65601038650482


@pytest.mark.skip(reason=f"{DIR.stem} P1 incomplete")
def test_part1():
contents = list(map(int, TEST_FILE.read_text().strip().split()))
result = part1(contents)
assert result == EXPECTED_PART_1


@pytest.mark.xfail(reason=f"{DIR.stem} P1 incomplete")
def test_part2():
contents = list(map(int, TEST_FILE.read_text().strip().split()))
result = part2(contents)
Expand Down

0 comments on commit d6f776a

Please sign in to comment.