Files
advent-of-code-2023/06/puzzle_test.py
2023-12-10 18:44:26 -08:00

19 lines
306 B
Python

from puzzle import Race, solve
def test_solve_pt_1():
assert (
solve(
[
Race(7, 9),
Race(15, 40),
Race(30, 200),
]
)
== 288
)
def test_solve_pt_2():
assert solve([Race(71530, 940200)]) == 71503