feat: add tests to create template
This commit is contained in:
@@ -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
|
||||
"""
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user