aoc/2015/day07_test.py

14 lines
240 B
Python

#!/usr/bin/env python3
from day07 import *
def test_part1() -> None:
with open("day07.txt", "r") as f:
assert part1(f) == 956
def test_part2() -> None:
with open("day07.txt", "r") as f:
assert part2(f) == 40149