Skip to content

Commit bc6a795

Browse files
committed
test for [lcm] Range
1 parent 448e286 commit bc6a795

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

S03-operators/lcm.t

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use v6;
22
use Test;
3-
plan 5;
3+
plan 6;
44

55
# L<S32::Numeric/Numeric/"=item lcm">
66

@@ -16,5 +16,7 @@ is -432 lcm 63, 3024, "The lcm of -432 and 63 is 3024";
1616
is 4342 lcm 65536, 142278656, "The lcm of 4342 and 65536 is 142278656";
1717
isa_ok 4342 lcm 65536, Int, "The lcm of 4342 and 65536 is an Int";
1818

19+
is ([lcm] 1..3), 6, '[lcm] Range works';
20+
1921
done;
2022
# vim: ft=perl6

0 commit comments

Comments
 (0)