24 lines
438 B
Python
Executable File
24 lines
438 B
Python
Executable File
#!/usr/bin/env python3.11
|
|
|
|
from unittest import TestCase, main
|
|
import logging
|
|
from common import *
|
|
from part1 import part1
|
|
from part2 import part2
|
|
|
|
|
|
class DayXTests(TestCase):
|
|
def test_parsing(self):
|
|
pass
|
|
|
|
def test_part1(self):
|
|
self.assertEqual(405, part1("example_input.txt"))
|
|
|
|
def test_part2(self):
|
|
pass
|
|
|
|
|
|
if __name__ == "__main__":
|
|
logging.basicConfig(level=logging.DEBUG)
|
|
main(verbosity=2)
|