adventofcode/2020/16/tests.t
2021-12-05 11:51:21 -05:00

18 lines
272 B
Perl

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();