Permalink
Browse files

added tests for elems and size

  • Loading branch information...
brunoV committed Mar 6, 2010
1 parent 21e5d6c commit f20f3ba794ba7451993e1e490e9aec77f4f29775
Showing with 18 additions and 0 deletions.
  1. +9 −0 t/elems.t
  2. +9 −0 t/size.t
View
@@ -0,0 +1,9 @@
+use Test::More qw(no_plan);
+use strict;
+use warnings;
+
+use autobox::Core;
+
+my @array = qw(foo bar baz);
+
+is @array->elems, 3;
View
@@ -0,0 +1,9 @@
+use Test::More qw(no_plan);
+use strict;
+use warnings;
+
+use autobox::Core;
+
+my @array = qw(foo bar baz);
+
+is @array->size, 3;

0 comments on commit f20f3ba

Please sign in to comment.