RosettaCodeData/Task/Assertions/Perl/assertions-5.pl

5 lines
79 B
Raku

is $a, 42;
ok $a == 42;
cmp_ok $a, '==', 42, 'The answer should be 42';
# etc.