Skip to content

Commit 008c21a

Browse files
committed
add test functions
1 parent 3ec9e20 commit 008c21a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

  • py5_resources/py5_module/py5

py5_resources/py5_module/py5/test.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ def test_java2d():
5656
test.run_sketch()
5757

5858

59+
def test_fx2d():
60+
test = RendererTest(Sketch.FX2D, "FX2D")
61+
test.run_sketch()
62+
63+
5964
def test_p2d():
6065
test = RendererTest(Sketch.P2D, "P2D")
6166
test.run_sketch()
@@ -91,6 +96,11 @@ def test_interactivity_java2d():
9196
test.run_sketch()
9297

9398

99+
def test_interactivity_fx2d():
100+
test = TestInteractivity(Sketch.FX2D, "FX2D")
101+
test.run_sketch()
102+
103+
94104
def test_interactivity_p2d():
95105
test = TestInteractivity(Sketch.P2D, "P2D")
96106
test.run_sketch()

0 commit comments

Comments
 (0)