mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-25 12:50:32 +01:00
17 lines
303 B
Python
17 lines
303 B
Python
import pytest
|
|
|
|
from aoc.days.day16 import DayRunner
|
|
|
|
from . import get_data
|
|
|
|
|
|
@pytest.mark.parametrize(
|
|
"data,result",
|
|
[
|
|
(get_data(16, 1), 7036),
|
|
(get_data(16, 2), 11048),
|
|
],
|
|
)
|
|
def test_sample_part1(data: str, result: int) -> None:
|
|
assert DayRunner.part1(data) == result
|