From f0aa6699051aff517846c82c268def8c4545bf1d Mon Sep 17 00:00:00 2001 From: Ryan Reed Date: Thu, 2 Dec 2021 15:52:03 -0500 Subject: [PATCH] Correcting the templates --- puzzles/TEMPLATE_dayXX.py | 4 ++++ puzzles/TEMPLATE_test_dayXX.py | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/puzzles/TEMPLATE_dayXX.py b/puzzles/TEMPLATE_dayXX.py index 2361def..8b64a1f 100644 --- a/puzzles/TEMPLATE_dayXX.py +++ b/puzzles/TEMPLATE_dayXX.py @@ -45,3 +45,7 @@ def main() -> None: print(f"Part 1 Result: {part1_result}") print(f"Part 2 Result: {part2_result}") + + +if __name__ == "__main__": + main() diff --git a/puzzles/TEMPLATE_test_dayXX.py b/puzzles/TEMPLATE_test_dayXX.py index bc81b09..e6771c0 100644 --- a/puzzles/TEMPLATE_test_dayXX.py +++ b/puzzles/TEMPLATE_test_dayXX.py @@ -28,12 +28,12 @@ def dayXX_data(): @pytest.mark.skip(reason="Not implemented") def test_example1(example_data1): - assert aoc.part1(example_data) == ... + assert aoc.part1(example_data1) == ... @pytest.mark.skip(reason="Not implemented") def test_example2(example_data2): - assert aoc.part2(example_data) == ... + assert aoc.part2(example_data2) == ... @pytest.mark.skip(reason="Not implemented")