aboutsummaryrefslogtreecommitdiff
path: root/tests/mtx_diegg
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-03-29 15:33:46 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-03-29 15:33:46 +0000
commitef1e7c91dba43cd215ea1aa98191d8326997a461 (patch)
tree941ed6dd30a8e4cc72b4a77eeeeb83d1d086eec3 /tests/mtx_diegg
parent07c21847aee32a51d9cecf8846f825f408cde16f (diff)
new tests for known bugs
svn path=/trunk/externals/iem/iemmatrix/; revision=4810
Diffstat (limited to 'tests/mtx_diegg')
-rw-r--r--tests/mtx_diegg/01_init.pd29
-rw-r--r--tests/mtx_diegg/02_getdiegg.pd17
-rw-r--r--tests/mtx_diegg/02_init.pd31
3 files changed, 77 insertions, 0 deletions
diff --git a/tests/mtx_diegg/01_init.pd b/tests/mtx_diegg/01_init.pd
new file mode 100644
index 0000000..72ed245
--- /dev/null
+++ b/tests/mtx_diegg/01_init.pd
@@ -0,0 +1,29 @@
+#N canvas 0 0 450 432 10;
+#X msg 69 90 bang;
+#X obj 69 187 unpack 0 0 0 0 0 0;
+#X obj 141 212 == 1;
+#X obj 117 235 == 0;
+#X obj 117 257 *;
+#X obj 165 257 *;
+#X obj 117 280 *;
+#X obj 69 166 route matrix;
+#X obj 165 234 == 2;
+#X obj 190 212 == 0;
+#X obj 69 145 mtx_diegg 1 2;
+#X obj 69 65 inlet bang;
+#X obj 117 305 outlet;
+#X connect 0 0 10 0;
+#X connect 1 2 3 0;
+#X connect 1 3 2 0;
+#X connect 1 4 8 0;
+#X connect 1 5 9 0;
+#X connect 2 0 4 1;
+#X connect 3 0 4 0;
+#X connect 4 0 6 0;
+#X connect 5 0 6 1;
+#X connect 6 0 12 0;
+#X connect 7 0 1 0;
+#X connect 8 0 5 0;
+#X connect 9 0 5 1;
+#X connect 10 0 7 0;
+#X connect 11 0 0 0;
diff --git a/tests/mtx_diegg/02_getdiegg.pd b/tests/mtx_diegg/02_getdiegg.pd
new file mode 100644
index 0000000..a4b3944
--- /dev/null
+++ b/tests/mtx_diegg/02_getdiegg.pd
@@ -0,0 +1,17 @@
+#N canvas 0 0 450 432 10;
+#X obj 87 257 *;
+#X obj 69 65 inlet bang;
+#X obj 87 305 outlet;
+#X obj 69 125 mtx_diegg;
+#X msg 69 90 matrix 2 2 0 1 2 0;
+#X obj 69 187 unpack 0 0;
+#X obj 87 235 == 2;
+#X obj 111 212 == 1;
+#X connect 0 0 2 0;
+#X connect 1 0 4 0;
+#X connect 3 0 5 0;
+#X connect 4 0 3 0;
+#X connect 5 0 6 0;
+#X connect 5 1 7 0;
+#X connect 6 0 0 0;
+#X connect 7 0 0 1;
diff --git a/tests/mtx_diegg/02_init.pd b/tests/mtx_diegg/02_init.pd
new file mode 100644
index 0000000..307a1e5
--- /dev/null
+++ b/tests/mtx_diegg/02_init.pd
@@ -0,0 +1,31 @@
+#N canvas 0 0 450 432 10;
+#X msg 69 90 bang;
+#X obj 69 187 unpack 0 0 0 0 0 0;
+#X obj 141 212 == 1;
+#X obj 117 235 == 0;
+#X obj 117 257 *;
+#X obj 165 257 *;
+#X obj 117 280 *;
+#X obj 165 234 == 2;
+#X obj 190 212 == 0;
+#X obj 69 65 inlet bang;
+#X obj 117 305 outlet;
+#X obj 69 145 mtx_diegg;
+#X msg 69 126 1 2;
+#X obj 69 166 route matrix;
+#X connect 0 0 12 0;
+#X connect 1 2 3 0;
+#X connect 1 3 2 0;
+#X connect 1 4 7 0;
+#X connect 1 5 8 0;
+#X connect 2 0 4 1;
+#X connect 3 0 4 0;
+#X connect 4 0 6 0;
+#X connect 5 0 6 1;
+#X connect 6 0 10 0;
+#X connect 7 0 5 0;
+#X connect 8 0 5 1;
+#X connect 9 0 0 0;
+#X connect 11 0 13 0;
+#X connect 12 0 11 0;
+#X connect 13 0 1 0;