Skip to content

Commit

Permalink
add a stub test file to exercise cell arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
Whiteknight committed Dec 9, 2009
1 parent f5cd877 commit b46af30
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions 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.