adventofcode/2021/_templates/day/new/tests.t

21 lines
305 B
Perl
Raw Normal View History

2021-12-05 16:46:03 +00:00
---
to: '<%= day %>/test.t'
---
use 5.34.0;
use Test2::V0;
use Path::Tiny;
require './part1.pm';
require './part2.pm';
subtest part1 => sub {
my $todo = todo 'TODO';
is part1::solution( ) => 'TODO';
};
subtest part2 => sub {
my $todo = todo 'TODO';
is part2::solution( ) => 'TODO';
};