From 4ccc074572ae37c909d9eedff7452acd318859df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 20 Feb 2008 15:48:03 +0000 Subject: more tests svn path=/trunk/externals/zexy/; revision=9457 --- tests/msgfile/CR.txt | 2 ++ tests/msgfile/empty_at_end.pd | 31 +++++++++++++++++++++++++++++++ tests/msgfile/loading.pd | 38 ++++++++++++++++++++++++++++++++++++++ tests/msgfile/loadingCR.pd | 38 ++++++++++++++++++++++++++++++++++++++ tests/msgfile/msgfile.txt | 2 ++ 5 files changed, 111 insertions(+) create mode 100644 tests/msgfile/CR.txt create mode 100644 tests/msgfile/empty_at_end.pd create mode 100644 tests/msgfile/loading.pd create mode 100644 tests/msgfile/loadingCR.pd create mode 100644 tests/msgfile/msgfile.txt (limited to 'tests') 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; -- cgit v1.2.1