aoc/2015/day02_test.py

12 lines
222 B
Python

from day02 import *
def test_part1() -> None:
with open("day02.txt", "r") as f:
assert part1(f) == 1598415
def test_part2() -> None:
with open("day02.txt", "r") as f:
assert part2(f) == 3812909