From de59cf2f202a98a30610bfdba024d6bc9b9d02a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 21 Dec 2005 10:50:02 +0000 Subject: test for [repeat] without args svn path=/trunk/externals/zexy/; revision=4271 --- tests/repeat/noargs.pd | 19 +++++++++++++++++++ tests/runtests.txt | 1 + 2 files changed, 20 insertions(+) create mode 100644 tests/repeat/noargs.pd (limited to 'tests') 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; -- cgit v1.2.1