Skip to content
Browse files

add a stub test file to exercise cell arrays

  • Loading branch information...
1 parent f5cd877 commit b46af308b3c5ed66f27a1bb9a8a2971644dc506b @Whiteknight committed
Showing with 16 additions and 0 deletions.
  1. +16 −0 t/syntax/cell.t
View
16 t/syntax/cell.t
@@ -0,0 +1,16 @@
+plan(4);
+
+x = {};
+is(parrot_typeof(x), "PMCMatrix2D");
+ok(iscell(x));
+is(columns(x), 0);
+is(rows(x), 0);
+
+# Tests to do:
+# non-empty cell
+# cell () indexing lvalue
+# cell () indexing rvalue
+# cell () indexing autoextend
+# cell {} indexing lvalue
+# cell {} indexing rvalue
+# cell {} indexing autovivify

0 comments on commit b46af30

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