diff options
| author | Mark <53903062+andemark@users.noreply.github.com> | 2024-04-01 06:01:01 +0000 |
|---|---|---|
| committer | Mark <53903062+andemark@users.noreply.github.com> | 2024-04-01 06:01:01 +0000 |
| commit | ee575f05f5a82039837b4e8a86fb7f285649af7a (patch) | |
| tree | 27afd9147156e4831eb1420dbe1172e25e6a8ba7 | |
| parent | 0a90049d4a946b8662a3edcf0d9d7a0bff9a3289 (diff) | |
| download | perlweeklychallenge-club-ee575f05f5a82039837b4e8a86fb7f285649af7a.tar.gz perlweeklychallenge-club-ee575f05f5a82039837b4e8a86fb7f285649af7a.tar.bz2 perlweeklychallenge-club-ee575f05f5a82039837b4e8a86fb7f285649af7a.zip | |
Challenge 263 Solutions (Raku)
| -rw-r--r-- | challenge-263/mark-anderson/raku/ch-1.raku | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/challenge-263/mark-anderson/raku/ch-1.raku b/challenge-263/mark-anderson/raku/ch-1.raku index d029665e08..32b97979a5 100644 --- a/challenge-263/mark-anderson/raku/ch-1.raku +++ b/challenge-263/mark-anderson/raku/ch-1.raku @@ -1,9 +1,9 @@ #!/usr/bin/env raku use Test; -is target-index((1,5,3,2,4,2), 2), (1,2); -is target-index((1,2,4,3,5), 6), (); -is target-index((5,3,2,4,2,1), 4), (4); +is-deeply target-index((1,5,3,2,4,2), 2), (1,2); +is-deeply target-index((1,2,4,3,5), 6), (); +is-deeply target-index((5,3,2,4,2,1), 4), (4,); sub target-index(@ints, $k) { |
