16 lines
279 B
Python
16 lines
279 B
Python
|
#!/usr/bin/env python3
|
||
|
|
||
|
from day02 import *
|
||
|
|
||
|
|
||
|
def test_part1() -> None:
|
||
|
strategy = open("day02.txt")
|
||
|
assert part1(strategy) == 10595
|
||
|
strategy.close()
|
||
|
|
||
|
|
||
|
def test_part2() -> None:
|
||
|
strategy = open("day02.txt")
|
||
|
assert part2(strategy) == 9541
|
||
|
strategy.close()
|