advent-of-code/2017-python/tests/day_16_tests.py

17 lines
346 B
Python
Raw Normal View History

2021-11-01 16:40:46 +01:00
import unittest
from solutions.day_16 import Solution
class Day16TestCase(unittest.TestCase):
def setUp(self):
self.solution = Solution()
def test_something(self):
2025-05-06 20:14:58 +02:00
puzzle_input = """s1,x3/4,pe/b""".strip()
assert self.solution.solve(puzzle_input, 5) == "baedc"
2021-11-01 16:40:46 +01:00
2025-05-06 20:14:58 +02:00
if __name__ == "__main__":
2021-11-01 16:40:46 +01:00
unittest.main()