Permalink
Browse files

add test for static size() call

  • Loading branch information...
1 parent 677a3c9 commit a6912e29b8be046669512903bf2bb40d51a565c7 @jdf committed Sep 5, 2010
@@ -7,8 +7,8 @@
def setup():
size(10, 10, P3D)
+ print "OK"
noLoop();
def draw():
- background(0)
- print "OK"
+ pass
@@ -0,0 +1,2 @@
+size(10, 10)
+print 'OK'
@@ -50,6 +50,11 @@ public void inherit_str() throws Exception {
}
@Test
+ public void static_size() throws Exception {
+ assertEquals("OK\n", run("static_size"));
+ }
+
+ @Test
public void set_builtins() throws Exception {
assertEquals("128\nset(['banana'])\n", run("set"));
}

0 comments on commit a6912e2

Please sign in to comment.