adventofcode/2024/01/test.t

16 lines
237 B
Perl
Raw Permalink Normal View History

2024-12-04 20:46:05 +00:00
use lib qw/ . /;
use Part1;
use Part2;
use Test2::V0;
use Path::Tiny;
my @lists = Day1::Part1::read_file( path('input')->lines );
is Day1::Part1::solve(@lists) => 1889772;
is Day1::Part2::solve(@lists) => 23228917;
done_testing();