2021 Day 21

This commit is contained in:
Akumatic
2021-12-21 17:55:10 +01:00
parent 7b32d8134b
commit 29b74f2b16
7 changed files with 129 additions and 1 deletions

14
2021/21/test_code.py Normal file
View File

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