advent-of-code/2021/09/test.py

11 lines
260 B
Python
Raw Permalink Normal View History

2023-08-02 11:46:44 +02:00
from prog import *
import unittest
class Tests(unittest.TestCase):
def test_part1(self):
self.assertEqual(result(get_input(sample = True)), 15)
def test_part2(self):
self.assertEqual(result(get_input(sample = True), part = 2), 1134)