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

11 lines
235 B
Python
Raw 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(True)), 150)
def test_part2(self):
self.assertEqual(result(get_input(True), 2), 900)