aboutsummaryrefslogtreecommitdiff
path: root/tests/mtx_eye
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-10-19 07:37:23 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-10-19 07:37:23 +0000
commit81a557eac4f0754ad4f81bcdf8c435ebbe2ea059 (patch)
tree0cfa407564fd3772db5d8b3732f9cc8b45ab5c0a /tests/mtx_eye
parent25d28573c4d97db466449cf78442d3221354f55b (diff)
tests whether sources output correct-sized matrices
svn path=/trunk/externals/iem/iemmatrix/; revision=3737
Diffstat (limited to 'tests/mtx_eye')
-rw-r--r--tests/mtx_eye/05_function.pd27
-rw-r--r--tests/mtx_eye/06_function.pd27
2 files changed, 54 insertions, 0 deletions
diff --git a/tests/mtx_eye/05_function.pd b/tests/mtx_eye/05_function.pd
new file mode 100644
index 0000000..3bd8a27
--- /dev/null
+++ b/tests/mtx_eye/05_function.pd
@@ -0,0 +1,27 @@
+#N canvas 541 351 508 466 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X obj 122 282 *;
+#X obj 122 104 t b;
+#X obj 122 191 mtx_eye 7 8;
+#X msg 122 135 10 14;
+#X msg 122 214 \$1 \$2;
+#X obj 122 157 t l l;
+#X obj 122 262 ==;
+#X obj 162 262 ==;
+#X obj 179 215 unpack;
+#X obj 122 236 unpack;
+#X connect 0 0 3 0;
+#X connect 2 0 1 0;
+#X connect 3 0 5 0;
+#X connect 4 0 6 0;
+#X connect 5 0 7 0;
+#X connect 6 0 11 0;
+#X connect 7 0 4 0;
+#X connect 7 1 10 0;
+#X connect 8 0 2 0;
+#X connect 9 0 2 1;
+#X connect 10 0 8 1;
+#X connect 10 1 9 1;
+#X connect 11 0 8 0;
+#X connect 11 1 9 0;
diff --git a/tests/mtx_eye/06_function.pd b/tests/mtx_eye/06_function.pd
new file mode 100644
index 0000000..0c00ef0
--- /dev/null
+++ b/tests/mtx_eye/06_function.pd
@@ -0,0 +1,27 @@
+#N canvas 385 142 508 466 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X obj 122 104 t b;
+#X obj 122 282 *;
+#X obj 122 191 mtx_eye 7 8;
+#X msg 122 214 \$1 \$2;
+#X obj 122 262 ==;
+#X obj 162 262 ==;
+#X obj 122 236 unpack;
+#X msg 122 135 32;
+#X obj 122 157 t f f;
+#X obj 179 215 t f f;
+#X connect 0 0 2 0;
+#X connect 2 0 9 0;
+#X connect 3 0 1 0;
+#X connect 4 0 5 0;
+#X connect 5 0 8 0;
+#X connect 6 0 3 0;
+#X connect 7 0 3 1;
+#X connect 8 0 6 0;
+#X connect 8 1 7 0;
+#X connect 9 0 10 0;
+#X connect 10 0 4 0;
+#X connect 10 1 11 0;
+#X connect 11 0 6 1;
+#X connect 11 1 7 1;