feat: add tests to create template

This commit is contained in:
2025-12-09 00:48:17 +01:00
parent 00000160c2
commit 0000017088

View File

@@ -92,20 +92,19 @@ from typing import Any
def part_1(input_data: str) -> Any: def part_1(input_data: str) -> Any:
# your part 1 solution here
return None return None
def part_2(input_data: str) -> Any: def part_2(input_data: str) -> Any:
# your part 2 solution here
return None return None
# alternatively you can implement a "two in one solution" like this def test_part_1(example_data)
# part_1 and part_2 must be removed or commented out in this case assert part_1(example_data) == 0
# 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_2(example_data)
assert part_2(example_data) == 0
""" """