Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added tests for RT86764 Array method on parcel

  • Loading branch information...
commit 3977901182bb3ca9219b5ca902ece1eb8adaf845 1 parent 4806917
Patrick Abi Salloum patrickas authored

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. +5 1 S02-builtin_data_types/parcel.t
6 S02-builtin_data_types/parcel.t
... ... @@ -1,7 +1,7 @@
1 1 use v6;
2 2 use Test;
3 3
4   -plan 8;
  4 +plan 11;
5 5
6 6 isa_ok (5, 7, 8), Parcel, '(5, 7, 8) is Parcel';
7 7 is +(5, 7, 8), 3, 'prefix:<+> on a Parcel';
@@ -16,5 +16,9 @@ is +<5 7 8>, 3, 'prefix:<+> on an angle bracket Parcel';
16 16 is ~<5 7 8>, '5 7 8', 'prefix:<~> on an angle bracket Parcel';
17 17 is <5 7 8>.Str, '5 7 8', '.Str on an angle bracket Parcel';
18 18
  19 +isa_ok (5, 7, 8).Array, Array, '.Array returns an array';
  20 +is (5, 7, 8).Array, [5,7,8], '.Array contains the right items';
  21 +is (5, 7, 8).Array.elems, 3, '.Array contains the right number of elements';
  22 +
19 23
20 24 # vim: ft=perl6

0 comments on commit 3977901

Please sign in to comment.
Something went wrong with that request. Please try again.