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

17 lines
349 B
Python

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