Added template + day12 in progress

This commit is contained in:
2023-12-12 08:06:58 +01:00
parent ed55a50ec7
commit f234fc62bf
10 changed files with 148 additions and 0 deletions

2
template/common.py Normal file
View File

@@ -0,0 +1,2 @@
def parse(input_file: str) -> T:
pass

View File

3
template/part1.py Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env python3.11
from common import *

3
template/part2.py Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env python3.11
from common import *

21
template/test.py Executable file
View File

@@ -0,0 +1,21 @@
#!/usr/bin/env python3.11
from unittest import TestCase, main
import logging
from common import *
class DayXTests(TestCase):
def test_parsing(self):
pass
def test_part1(self):
pass
def test_part2(self):
pass
if __name__ == "__main__":
logging.basicConfig(level=logging.DEBUG)
main(verbosity=2)