-
Notifications
You must be signed in to change notification settings - Fork 225
Language Raku
kazk edited this page Oct 20, 2020
·
4 revisions
Beta
use v6;
unit module Solution;
sub add($a, $b) is export {
$a + $b;
}use v6;
use Test;
# The name of the solution module is inferred from the code.
use Solution;
subtest "test add", {
is(add(1, 1), 2);
}
done-testing;Preloaded code can be provided and it will be a separate module.
12 seconds
None
None
raku