aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-12-21 10:50:02 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-12-21 10:50:02 +0000
commitde59cf2f202a98a30610bfdba024d6bc9b9d02a5 (patch)
treeee3cc032e7125f304a1d8337f2c6e2d5c3335bb0 /tests
parent3ef6fc72fc9c4789507d537715597c3ed987f20e (diff)
test for [repeat] without args
svn path=/trunk/externals/zexy/; revision=4271
Diffstat (limited to 'tests')
-rw-r--r--tests/repeat/noargs.pd19
-rw-r--r--tests/runtests.txt1
2 files changed, 20 insertions, 0 deletions
diff --git a/tests/repeat/noargs.pd b/tests/repeat/noargs.pd
new file mode 100644
index 0000000..ad75307
--- /dev/null
+++ b/tests/repeat/noargs.pd
@@ -0,0 +1,19 @@
+#N canvas 179 117 582 310 10;
+#X obj 91 117 inlet bang;
+#X obj 91 270 outlet result;
+#X obj 91 138 t b b b;
+#X obj 91 240 i;
+#X msg 107 213 1;
+#X msg 139 213 0;
+#X text 37 51 may people think that it is a bad idea to not create
+[repeat] if there is no argument. so this test fails when the object
+cannot instantiate;
+#X obj 107 184 repeat;
+#X connect 0 0 2 0;
+#X connect 2 0 3 0;
+#X connect 2 1 7 0;
+#X connect 2 2 5 0;
+#X connect 3 0 1 0;
+#X connect 4 0 3 1;
+#X connect 5 0 3 1;
+#X connect 7 0 4 0;
diff --git a/tests/runtests.txt b/tests/runtests.txt
index e69de29..7e829e8 100644
--- a/tests/runtests.txt
+++ b/tests/runtests.txt
@@ -0,0 +1 @@
+repeat/noargs;