advent-of-code/2020/16/test.py
2023-08-02 11:39:56 +02:00

16 lines
360 B
Python

from prog import *
import unittest
class Methods(unittest.TestCase):
pass
class Result(unittest.TestCase):
def test_p1(self):
inp = get_input(sample = True)
self.assertEqual(get_result(self.inp), 71)
def test_p2(self):
inp = get_input(sample = True, part = 2)
self.assertEqual(get_result(inp, part = 2), 71)