Raku
#
StatusBeta
#
Versions#
Test Frameworks#
Exampleuse 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);
}
# or
is(add(2, 2), 4);
done-testing;
Preloaded code can be provided and it will be a separate module.
#
Timeout12 seconds
#
PackagesNone
#
ServicesNone
#
Language IDraku