Implement 2024 day 9

This commit is contained in:
2024-12-09 18:14:49 +01:00
parent dcb0f4514d
commit cb7aedc4ba
2 changed files with 118 additions and 0 deletions

11
2024/tests/test_day09.py Normal file
View File

@@ -0,0 +1,11 @@
from aoc.days.day9 import DayRunner
SAMPLE = "2333133121414131402"
def test_sample_part1() -> None:
assert DayRunner.part1(SAMPLE) == 1928
def test_sample_part2() -> None:
assert DayRunner.part2(SAMPLE) == 2858