Skip to content

Commit

Permalink
add tests for parrot_new and parrot_method
Browse files Browse the repository at this point in the history
  • Loading branch information
Whiteknight committed Dec 8, 2009
1 parent 9170801 commit 6a2877e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions t/parrot/parrot_method.t
@@ -0,0 +1,8 @@
plan(4);

x = [1];
is(columns(x), 1);
is(rows(x), 1);
parrot_method(x, "resize", 2, 7);
is(columns(x), 7);
is(rows(x), 2);
3 changes: 3 additions & 0 deletions t/parrot/parrot_new.t
@@ -0,0 +1,3 @@
plan(1)
x = parrot_new("Integer");
is(parrot_typeof(x), "Integer", "can create an Integer");

0 comments on commit 6a2877e

Please sign in to comment.