adventofcode/2021/01/test.t
2021-12-05 11:44:23 -05:00

20 lines
276 B
Perl

use 5.34.0;
use Test2::V0;
use Path::Tiny;
require './part1.pm';
require './part2.pm';
my @list = path('./input')->lines;
subtest part1 => sub {
is part1::solution( @list ) => 1602;
};
subtest part2 => sub {
is part2::solution(@list) => 1633;
};
done_testing();