Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[euler] test for problem 54
  • Loading branch information
andreoss committed May 6, 2015
1 parent e328821 commit 5754db0
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion t/categories/euler.t
Expand Up @@ -11,7 +11,12 @@ subtest {
my @authors = <cspencer eric256 grondilu hexmode unobe>;
my $expected-output = 233168;

check-example-solutions($problem, $expected-output, @authors)
for @authors -> $author {
my $name = "$problem-$author.pl";
my $output = run-example($name);
is($output.chomp, $expected-output, $name);
}

}, "prob001";

subtest {
Expand Down Expand Up @@ -365,6 +370,16 @@ subtest {
subtest {
plan 1;

my $problem = "prob054";
my @authors = <andreoss>;
my $expected-output = 376;

check-example-solutions($problem, $expected-output, @authors);
}, "prob054";

subtest {
plan 1;

my $problem = "prob059";
my @authors = <andreoss>;
my $expected-output = 107359;
Expand Down

0 comments on commit 5754db0

Please sign in to comment.