Permalink
Browse files

add tests for rows() and columns()

  • Loading branch information...
1 parent 0ee62d6 commit 327017eade4ca7b7546d5978870b10452eb6eb69 @Whiteknight committed Dec 9, 2009
Showing with 12 additions and 0 deletions.
  1. +6 −0 t/functions/columns.t
  2. +6 −0 t/functions/rows.t
View
6 t/functions/columns.t
@@ -0,0 +1,6 @@
+plan(3);
+
+is(columns([1, 2, 3]), 3);
+is(columns(1), 1);
+is(columns({"a", 1, @columns}), 3);
+
View
6 t/functions/rows.t
@@ -0,0 +1,6 @@
+plan(3);
+
+is(rows([1;2;3]), 3);
+is(rows(1), 1);
+is(rows({"a";1;@columns}), 3);
+

0 comments on commit 327017e

Please sign in to comment.