16 lines
260 B
Python
16 lines
260 B
Python
|
#!/usr/bin/env python3
|
||
|
|
||
|
from day03 import *
|
||
|
|
||
|
|
||
|
def test_part1() -> None:
|
||
|
sacks = open("day03.txt")
|
||
|
assert part1(sacks) == 7716
|
||
|
sacks.close()
|
||
|
|
||
|
|
||
|
def test_part2() -> None:
|
||
|
sacks = open("day03.txt")
|
||
|
assert part2(sacks) == 2973
|
||
|
sacks.close()
|