aoc/2015/day05_test.py

14 lines
237 B
Python

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