aoc/2022/day01_test.py

11 lines
185 B
Python

#!/usr/bin/env python3
from day01 import *
def test_part1() -> None:
puzzle = open("day01.txt")
assert part1(puzzle) == 70613
assert part2() == 205805
puzzle.close()