Skip to content

Commit 1eda24d

Browse files
committed
[wsg] add a test for beginner 2008, event010
1 parent cfd676c commit 1eda24d

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

t/categories/wsg/beginner-2008.t

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use v6;
22

33
use Test;
44

5-
plan 3;
5+
plan 4;
66

77
my $skip = True;
88

@@ -52,6 +52,36 @@ subtest {
5252
check-example-solutions($problem, $expected-output.chomp, @authors)
5353
}, "event006";
5454

55+
subtest {
56+
plan 1;
57+
58+
my $problem = "event010";
59+
my @authors = <eric256>;
60+
my $expected-output = q:to/EOD/;
61+
checking 2
62+
checking 5
63+
checking 7
64+
checking /
65+
checking 8
66+
checking 1
67+
checking X
68+
checking 9
69+
checking /
70+
checking 5
71+
checking 3
72+
checking 7
73+
checking 0
74+
checking 4
75+
checking 5
76+
checking X
77+
checking 2
78+
checking 0
79+
66
80+
EOD
81+
82+
check-example-solutions($problem, $expected-output.chomp, @authors)
83+
}, "event010";
84+
5585
#| check examples provided by the given authors
5686
sub check-example-solutions($problem, $expected-output, @authors) {
5787
for @authors -> $author {

0 commit comments

Comments
 (0)