From 0000017088f3997515af8f8ea2280597193d5652 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Tue, 9 Dec 2025 00:48:17 +0100 Subject: [PATCH] feat: add tests to create template --- aoc/input_file.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/aoc/input_file.py b/aoc/input_file.py index 055a20e..2af6097 100644 --- a/aoc/input_file.py +++ b/aoc/input_file.py @@ -92,20 +92,19 @@ from typing import Any def part_1(input_data: str) -> Any: - # your part 1 solution here return None def part_2(input_data: str) -> Any: - # your part 2 solution here return None -# alternatively you can implement a "two in one solution" like this -# part_1 and part_2 must be removed or commented out in this case -# if tuple or list is returned elements will be printed on separate lines -# def part_1_2(input_data) -> Any: -# return None +def test_part_1(example_data) + assert part_1(example_data) == 0 + + +def test_part_2(example_data) + assert part_2(example_data) == 0 """