mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-25 21:00:31 +01:00
Restructure tests
This commit is contained in:
15
2024/tests/test_day05.py
Normal file
15
2024/tests/test_day05.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from aoc.days.day5 import DayRunner
|
||||
|
||||
from . import get_data
|
||||
|
||||
|
||||
def test_sample_part1() -> None:
|
||||
data = get_data(5)
|
||||
|
||||
assert DayRunner.part1(data) == 143
|
||||
|
||||
|
||||
def test_sample_part2() -> None:
|
||||
data = get_data(5)
|
||||
|
||||
assert DayRunner.part2(data) == 123
|
||||
Reference in New Issue
Block a user