aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-10-17 18:32:28 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-10-17 18:32:28 +0000
commit114a63ba29d199c305ec2f63ebd47c82ec5bb520 (patch)
tree0e173109cddf1d799ea8e3fc9c5daf767908e70d /tests
parentd84044c41cb7f786cb7fad1b8a0d4c025e10f435 (diff)
test functions
svn path=/trunk/externals/iem/iemmatrix/; revision=3724
Diffstat (limited to 'tests')
-rw-r--r--tests/mtx_and/01_function.pd19
-rw-r--r--tests/mtx_and/02_function.pd36
-rw-r--r--tests/mtx_and/03_function.pd34
3 files changed, 89 insertions, 0 deletions
diff --git a/tests/mtx_and/01_function.pd b/tests/mtx_and/01_function.pd
new file mode 100644
index 0000000..5ecd191
--- /dev/null
+++ b/tests/mtx_and/01_function.pd
@@ -0,0 +1,19 @@
+#N canvas 385 142 508 466 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X obj 122 161 mtx_and 0;
+#X msg 122 140 matrix 1 2 0 1;
+#X msg 122 183 \$3 \$4;
+#X obj 122 203 unpack;
+#X obj 122 296 *;
+#X obj 122 255 == 0;
+#X obj 159 255 == 0;
+#X connect 0 0 3 0;
+#X connect 2 0 4 0;
+#X connect 3 0 2 0;
+#X connect 4 0 5 0;
+#X connect 5 0 7 0;
+#X connect 5 1 8 0;
+#X connect 6 0 1 0;
+#X connect 7 0 6 0;
+#X connect 8 0 6 1;
diff --git a/tests/mtx_and/02_function.pd b/tests/mtx_and/02_function.pd
new file mode 100644
index 0000000..1d8939c
--- /dev/null
+++ b/tests/mtx_and/02_function.pd
@@ -0,0 +1,36 @@
+#N canvas 413 323 508 466 10;
+#X obj 122 37 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X obj 122 296 *;
+#X obj 122 255 == 0;
+#X msg 166 134 matrix 2 2 0 0 1 1;
+#X msg 122 183 \$3 \$4 \$5 \$6;
+#X obj 122 203 unpack 0 0 0 0;
+#X obj 184 255 == 0;
+#X obj 215 255 == 1;
+#X obj 184 296 *;
+#X obj 122 327 *;
+#X obj 153 255 == 0;
+#X obj 122 65 t b b;
+#X msg 211 65 bang;
+#X obj 122 161 mtx_and;
+#X msg 122 110 matrix 2 2 0 1 0 1;
+#X connect 0 0 12 0;
+#X connect 2 0 10 0;
+#X connect 3 0 2 0;
+#X connect 4 0 14 1;
+#X connect 5 0 6 0;
+#X connect 6 0 3 0;
+#X connect 6 1 11 0;
+#X connect 6 2 7 0;
+#X connect 6 3 8 0;
+#X connect 7 0 9 0;
+#X connect 8 0 9 1;
+#X connect 9 0 10 1;
+#X connect 10 0 1 0;
+#X connect 11 0 2 1;
+#X connect 12 0 15 0;
+#X connect 12 1 4 0;
+#X connect 13 0 12 0;
+#X connect 14 0 5 0;
+#X connect 15 0 14 0;
diff --git a/tests/mtx_and/03_function.pd b/tests/mtx_and/03_function.pd
new file mode 100644
index 0000000..825454a
--- /dev/null
+++ b/tests/mtx_and/03_function.pd
@@ -0,0 +1,34 @@
+#N canvas 413 323 508 466 10;
+#X obj 122 37 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X obj 122 296 *;
+#X obj 122 255 == 0;
+#X msg 122 183 \$3 \$4 \$5 \$6;
+#X obj 122 203 unpack 0 0 0 0;
+#X obj 184 255 == 0;
+#X obj 215 255 == 1;
+#X obj 184 296 *;
+#X obj 122 327 *;
+#X obj 122 65 t b b;
+#X obj 122 161 mtx_&&;
+#X msg 122 110 matrix 2 2 0 1 2 3;
+#X msg 166 134 matrix 2 2 5 5 0 7;
+#X obj 153 255 == 1;
+#X connect 0 0 10 0;
+#X connect 2 0 9 0;
+#X connect 3 0 2 0;
+#X connect 4 0 5 0;
+#X connect 5 0 3 0;
+#X connect 5 1 14 0;
+#X connect 5 2 6 0;
+#X connect 5 3 7 0;
+#X connect 6 0 8 0;
+#X connect 7 0 8 1;
+#X connect 8 0 9 1;
+#X connect 9 0 1 0;
+#X connect 10 0 12 0;
+#X connect 10 1 13 0;
+#X connect 11 0 4 0;
+#X connect 12 0 11 0;
+#X connect 13 0 11 1;
+#X connect 14 0 2 1;