aboutsummaryrefslogtreecommitdiff
path: root/tests/msgfile
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2008-02-20 15:48:03 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2008-02-20 15:48:03 +0000
commit4ccc074572ae37c909d9eedff7452acd318859df (patch)
tree155731fd77e338771fce036400557eea5c4bd0af /tests/msgfile
parent9f3bde58c300d052baf3ca1cd1d8af31baf8ba01 (diff)
more tests
svn path=/trunk/externals/zexy/; revision=9457
Diffstat (limited to 'tests/msgfile')
-rw-r--r--tests/msgfile/CR.txt2
-rw-r--r--tests/msgfile/empty_at_end.pd31
-rw-r--r--tests/msgfile/loading.pd38
-rw-r--r--tests/msgfile/loadingCR.pd38
-rw-r--r--tests/msgfile/msgfile.txt2
5 files changed, 111 insertions, 0 deletions
diff --git a/tests/msgfile/CR.txt b/tests/msgfile/CR.txt
new file mode 100644
index 0000000..0e2e17b
--- /dev/null
+++ b/tests/msgfile/CR.txt
@@ -0,0 +1,2 @@
+cis boom bah bang
+after the break of dawn appendix
diff --git a/tests/msgfile/empty_at_end.pd b/tests/msgfile/empty_at_end.pd
new file mode 100644
index 0000000..02ac03a
--- /dev/null
+++ b/tests/msgfile/empty_at_end.pd
@@ -0,0 +1,31 @@
+#N canvas 57 57 492 370 10;
+#X obj 86 43 t b b;
+#X obj 86 20 inlet run_test;
+#X obj 86 318 outlet;
+#X obj 182 147 t a a;
+#X obj 182 176 msgfile;
+#X msg 228 86 add 1 \, add 2 \, rewind \, bang \, bang;
+#X msg 182 118 rewind \, bang;
+#X obj 182 60 t b b b;
+#X obj 182 201 spigot;
+#X msg 245 177 1;
+#X obj 182 228 t b;
+#X msg 182 250 1;
+#X msg 86 250 0;
+#X obj 86 285 t f;
+#X connect 0 0 12 0;
+#X connect 0 1 7 0;
+#X connect 1 0 0 0;
+#X connect 3 0 4 0;
+#X connect 4 0 8 0;
+#X connect 5 0 3 0;
+#X connect 6 0 3 0;
+#X connect 7 0 6 0;
+#X connect 7 1 9 0;
+#X connect 7 2 5 0;
+#X connect 8 0 10 0;
+#X connect 9 0 8 1;
+#X connect 10 0 11 0;
+#X connect 11 0 13 0;
+#X connect 12 0 13 0;
+#X connect 13 0 2 0;
diff --git a/tests/msgfile/loading.pd b/tests/msgfile/loading.pd
new file mode 100644
index 0000000..d396ceb
--- /dev/null
+++ b/tests/msgfile/loading.pd
@@ -0,0 +1,38 @@
+#N canvas 57 57 673 398 10;
+#X obj 86 20 inlet run_test;
+#X obj 86 348 outlet;
+#X obj 182 147 t a a;
+#X obj 182 176 msgfile;
+#X obj 182 60 t b b b;
+#X obj 182 201 spigot;
+#X msg 245 177 1;
+#X obj 182 228 t b;
+#X msg 182 250 1;
+#X msg 229 23 bang;
+#X msg 182 118 bang;
+#X obj 86 285 i;
+#X floatatom 107 317 5 0 0 0 - - -;
+#X obj 86 43 t b b b;
+#X msg 132 66 0;
+#X msg 266 146 print;
+#X msg 227 86 clear \, read msgfile.txt \, rewind;
+#X connect 0 0 13 0;
+#X connect 2 0 3 0;
+#X connect 3 0 5 0;
+#X connect 4 0 10 0;
+#X connect 4 1 6 0;
+#X connect 4 2 16 0;
+#X connect 5 0 7 0;
+#X connect 6 0 5 1;
+#X connect 7 0 8 0;
+#X connect 8 0 11 0;
+#X connect 9 0 13 0;
+#X connect 10 0 2 0;
+#X connect 11 0 1 0;
+#X connect 11 0 12 0;
+#X connect 13 0 11 0;
+#X connect 13 1 4 0;
+#X connect 13 2 14 0;
+#X connect 14 0 11 1;
+#X connect 15 0 3 0;
+#X connect 16 0 2 0;
diff --git a/tests/msgfile/loadingCR.pd b/tests/msgfile/loadingCR.pd
new file mode 100644
index 0000000..cd9fa66
--- /dev/null
+++ b/tests/msgfile/loadingCR.pd
@@ -0,0 +1,38 @@
+#N canvas 57 57 673 398 10;
+#X obj 86 20 inlet run_test;
+#X obj 86 348 outlet;
+#X obj 182 147 t a a;
+#X obj 182 176 msgfile;
+#X obj 182 60 t b b b;
+#X obj 182 201 spigot;
+#X msg 245 177 1;
+#X obj 182 228 t b;
+#X msg 182 250 1;
+#X msg 229 23 bang;
+#X msg 182 118 bang;
+#X obj 86 285 i;
+#X floatatom 107 317 5 0 0 0 - - -;
+#X obj 86 43 t b b b;
+#X msg 132 66 0;
+#X msg 266 146 print;
+#X msg 227 86 clear \, read CR.txt cr \, rewind;
+#X connect 0 0 13 0;
+#X connect 2 0 3 0;
+#X connect 3 0 5 0;
+#X connect 4 0 10 0;
+#X connect 4 1 6 0;
+#X connect 4 2 16 0;
+#X connect 5 0 7 0;
+#X connect 6 0 5 1;
+#X connect 7 0 8 0;
+#X connect 8 0 11 0;
+#X connect 9 0 13 0;
+#X connect 10 0 2 0;
+#X connect 11 0 1 0;
+#X connect 11 0 12 0;
+#X connect 13 0 11 0;
+#X connect 13 1 4 0;
+#X connect 13 2 14 0;
+#X connect 14 0 11 1;
+#X connect 15 0 3 0;
+#X connect 16 0 2 0;
diff --git a/tests/msgfile/msgfile.txt b/tests/msgfile/msgfile.txt
new file mode 100644
index 0000000..43e0c9e
--- /dev/null
+++ b/tests/msgfile/msgfile.txt
@@ -0,0 +1,2 @@
+cis boom bah bang;
+after the break of dawn appendix;