adventofcode/2020/16/tests.t

18 lines
272 B
Perl
Raw Normal View History

2021-12-05 16:51:21 +00:00
use Test2::V0;
use Path::Tiny;
require './part1.pm';
require './part2.pm';
my $input = path('input')->slurp;
subtest part1 => sub {
is part1::solution($input) => 20048;
};
subtest part2 => sub {
is part2::solution($input) => 4810284647569;
};
done_testing();