15 lines
312 B
Python
15 lines
312 B
Python
# SPDX-License-Identifier: MIT
|
|
# Copyright (c) 2023 Akumatic
|
|
|
|
from code import read_file, part1, part2
|
|
|
|
def test():
|
|
vals = read_file("test_input.txt")
|
|
assert part1(vals) == 4361
|
|
print("Passed Part 1")
|
|
assert part2(vals) == 467835
|
|
print("Passed Part 2")
|
|
|
|
if __name__ == "__main__":
|
|
test()
|