mirror of
https://github.com/Crocmagnon/advent-of-code.git
synced 2024-11-24 23:48:13 +01:00
13 lines
246 B
Python
13 lines
246 B
Python
from day10_adapter_array import solve_part_2
|
|
|
|
|
|
def test_only_one_path():
|
|
assert solve_part_2([0, 1]) == 1
|
|
|
|
|
|
def test_one_long_paths():
|
|
assert solve_part_2([0, 1, 4, 7]) == 1
|
|
|
|
|
|
def test_two_paths():
|
|
assert solve_part_2([0, 1, 2]) == 2
|