31 lines
331 B
Perl
31 lines
331 B
Perl
|
use 5.38.0;
|
||
|
|
||
|
use Test2::V0;
|
||
|
|
||
|
use Path::Tiny;
|
||
|
|
||
|
use Part2;
|
||
|
|
||
|
my $input = path('input')->slurp;
|
||
|
|
||
|
my $example = <<'END';
|
||
|
467..114..
|
||
|
...*......
|
||
|
..35..633.
|
||
|
......#...
|
||
|
617*......
|
||
|
.....+.58.
|
||
|
..592.....
|
||
|
......755.
|
||
|
...$.*....
|
||
|
.664.598..
|
||
|
END
|
||
|
|
||
|
|
||
|
is Part2::solution_2($example) => 467835;
|
||
|
|
||
|
|
||
|
is Part2::solution_2($input) => 'TODO';
|
||
|
|
||
|
done_testing;
|