Advent-of-Code/2021/20/test_code.py
2021-12-20 18:08:37 +01:00

15 lines
288 B
Python

# SPDX-License-Identifier: MIT
# Copyright (c) 2021 Akumatic
from code import *
def test():
vals = read_file("test_input.txt")
assert part1(*vals) == 35
print("Passed Part 1")
assert part2(*vals) == 3351
print("Passed Part 2")
if __name__ == "__main__":
test()