mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-25 21:00:31 +01:00
Implement 2024 day 10
This commit is contained in:
8
2024/tests/samples/10.txt
Normal file
8
2024/tests/samples/10.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
89010123
|
||||
78121874
|
||||
87430965
|
||||
96549874
|
||||
45678903
|
||||
32019012
|
||||
01329801
|
||||
10456732
|
||||
7
2024/tests/test_day10.py
Normal file
7
2024/tests/test_day10.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from aoc.days.day10 import DayRunner
|
||||
|
||||
from . import get_data
|
||||
|
||||
|
||||
def test_sample_part1() -> None:
|
||||
assert DayRunner.part1(get_data(10)) == 36
|
||||
Reference in New Issue
Block a user