14 lines
246 B
Python
14 lines
246 B
Python
|
#!/usr/bin/env python3
|
||
|
|
||
|
from day06 import *
|
||
|
|
||
|
|
||
|
def test_part1() -> None:
|
||
|
with open("day06.txt", "r") as f:
|
||
|
assert part1(f) == 400410
|
||
|
|
||
|
|
||
|
def test_part2() -> None:
|
||
|
with open("day06.txt", "r") as f:
|
||
|
assert part2(f) == 15343601
|