14 lines
232 B
Python
14 lines
232 B
Python
|
#!/usr/bin/env python3
|
||
|
|
||
|
from day01 import *
|
||
|
|
||
|
|
||
|
def test_part1() -> None:
|
||
|
with open("day01.txt") as p:
|
||
|
assert part1(p) == 54601
|
||
|
|
||
|
|
||
|
def test_part2() -> None:
|
||
|
with open("day01.txt") as p:
|
||
|
assert part2(p) == 54078
|