Skip to content

Commit 2592631

Browse files
committed
Tests for GH #1593
rakudo/rakudo#1593
1 parent f6bf6da commit 2592631

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

S03-operators/set_elem.t

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ my $map = (effective => 42, factual => 666).Map;
2020
my $hash = (global => 77, 999 => "happiness").Hash;
2121
my $objh = Hash[Any,Any].new((ideas => 56, 13 => "jocular"));
2222
my $list = <the quick brown fox>;
23+
my $bigintrange = 0..10 ** 42;
2324
my @elem =
2425
"afraid", $s,
2526
"afraid", $sh,
@@ -32,6 +33,7 @@ my @elem =
3233
"ideas", $objh,
3334
13, $objh,
3435
"quick", $list,
36+
10 ** 42, $bigintrange
3537
;
3638

3739
# Things we need to check for not being an element of. Uses the string
@@ -68,6 +70,7 @@ my @notelem =
6870
do { my %o := :{ a => 42 }; %o<a>:delete; %o },
6971
$list,
7072
List.new,
73+
$bigintrange => 10 ** 42 + 1
7174
;
7275

7376
plan 2 * (2 * @elem/2 + 2 * @notelem) + 1 * (2 * @elem/2 + 2 * @notelem);

0 commit comments

Comments
 (0)