aboutsummaryrefslogtreecommitdiff
path: root/tests/mtx_min
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mtx_min')
-rw-r--r--tests/mtx_min/00_exist.pd13
-rw-r--r--tests/mtx_min/01_function.pd17
-rw-r--r--tests/mtx_min/02_function.pd29
-rw-r--r--tests/mtx_min/03_function.pd43
-rw-r--r--tests/mtx_min/04_function.pd43
-rw-r--r--tests/mtx_min/05_function.pd43
-rw-r--r--tests/mtx_min/06_function.pd40
7 files changed, 228 insertions, 0 deletions
diff --git a/tests/mtx_min/00_exist.pd b/tests/mtx_min/00_exist.pd
new file mode 100644
index 0000000..8187198
--- /dev/null
+++ b/tests/mtx_min/00_exist.pd
@@ -0,0 +1,13 @@
+#N canvas 0 77 396 423 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X obj 122 347 b;
+#X msg 122 366 1;
+#X msg 122 122 matrix 1 1 1;
+#X obj 122 161 mtx_min;
+#X text 67 37 test for existance of [mtx_min];
+#X connect 0 0 4 0;
+#X connect 2 0 3 0;
+#X connect 3 0 1 0;
+#X connect 4 0 5 0;
+#X connect 5 0 2 0;
diff --git a/tests/mtx_min/01_function.pd b/tests/mtx_min/01_function.pd
new file mode 100644
index 0000000..9d29e78
--- /dev/null
+++ b/tests/mtx_min/01_function.pd
@@ -0,0 +1,17 @@
+#N canvas 50 42 508 466 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X obj 122 101 t b;
+#X obj 122 151 t f f;
+#X msg 122 190 matrix 1 1 \$1;
+#X obj 122 265 ==;
+#X msg 122 127 -2;
+#X obj 122 211 mtx_min;
+#X connect 0 0 2 0;
+#X connect 2 0 6 0;
+#X connect 3 0 4 0;
+#X connect 3 1 5 1;
+#X connect 4 0 7 0;
+#X connect 5 0 1 0;
+#X connect 6 0 3 0;
+#X connect 7 0 5 0;
diff --git a/tests/mtx_min/02_function.pd b/tests/mtx_min/02_function.pd
new file mode 100644
index 0000000..fee2d38
--- /dev/null
+++ b/tests/mtx_min/02_function.pd
@@ -0,0 +1,29 @@
+#N canvas 175 99 591 461 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X text 67 37 test for existance of [mtx_min];
+#X msg 122 170 matrix 2 2 \$1 \$2 \$3 \$4;
+#X obj 122 89 t b;
+#X msg 122 110 3 -1 -10.5 0;
+#X obj 285 168 unpack 0 0 0 0;
+#X obj 122 277 ==;
+#X obj 285 189 min;
+#X obj 347 188 min;
+#X obj 285 209 min;
+#X obj 122 191 mtx_min;
+#X obj 122 135 t l l;
+#X connect 0 0 4 0;
+#X connect 3 0 11 0;
+#X connect 4 0 5 0;
+#X connect 5 0 12 0;
+#X connect 6 0 8 0;
+#X connect 6 1 8 1;
+#X connect 6 2 9 0;
+#X connect 6 3 9 1;
+#X connect 7 0 1 0;
+#X connect 8 0 10 0;
+#X connect 9 0 10 1;
+#X connect 10 0 7 1;
+#X connect 11 0 7 0;
+#X connect 12 0 3 0;
+#X connect 12 1 6 0;
diff --git a/tests/mtx_min/03_function.pd b/tests/mtx_min/03_function.pd
new file mode 100644
index 0000000..124e150
--- /dev/null
+++ b/tests/mtx_min/03_function.pd
@@ -0,0 +1,43 @@
+#N canvas 105 62 508 466 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X text 67 37 test for existance of [mtx_min];
+#X obj 122 89 t b;
+#X obj 122 135 t l l;
+#X obj 122 300 *;
+#X obj 122 326 *;
+#X obj 122 277 ==;
+#X obj 161 277 ==;
+#X obj 201 277 ==;
+#X msg 122 170 matrix 2 3 \$1 \$2 \$3 \$4 \$5 \$6;
+#X msg 122 110 3 -1 10.5 0.05 0 12;
+#X obj 216 195 unpack 0 0 0 0 0 0;
+#X obj 216 216 min;
+#X obj 247 216 min;
+#X obj 278 215 min;
+#X obj 122 255 unpack 0 0 0;
+#X obj 122 191 mtx_min :;
+#X connect 0 0 3 0;
+#X connect 3 0 11 0;
+#X connect 4 0 10 0;
+#X connect 4 1 12 0;
+#X connect 5 0 6 0;
+#X connect 6 0 1 0;
+#X connect 7 0 5 0;
+#X connect 8 0 5 1;
+#X connect 9 0 6 1;
+#X connect 10 0 17 0;
+#X connect 11 0 4 0;
+#X connect 12 0 13 0;
+#X connect 12 1 14 0;
+#X connect 12 2 15 0;
+#X connect 12 3 13 1;
+#X connect 12 4 14 1;
+#X connect 12 5 15 1;
+#X connect 13 0 7 1;
+#X connect 14 0 8 1;
+#X connect 15 0 9 1;
+#X connect 16 0 7 0;
+#X connect 16 1 8 0;
+#X connect 16 2 9 0;
+#X connect 17 0 16 0;
diff --git a/tests/mtx_min/04_function.pd b/tests/mtx_min/04_function.pd
new file mode 100644
index 0000000..a0203ae
--- /dev/null
+++ b/tests/mtx_min/04_function.pd
@@ -0,0 +1,43 @@
+#N canvas 105 62 508 466 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X text 67 37 test for existance of [mtx_min];
+#X obj 122 89 t b;
+#X obj 122 135 t l l;
+#X obj 122 300 *;
+#X obj 122 326 *;
+#X obj 122 277 ==;
+#X obj 161 277 ==;
+#X obj 201 277 ==;
+#X msg 122 170 matrix 2 3 \$1 \$2 \$3 \$4 \$5 \$6;
+#X msg 122 110 3 -1 10.5 0.05 0 12;
+#X obj 286 195 unpack 0 0 0 0 0 0;
+#X obj 286 216 min;
+#X obj 317 216 min;
+#X obj 348 215 min;
+#X obj 122 255 unpack 0 0 0;
+#X obj 122 191 mtx_min col;
+#X connect 0 0 3 0;
+#X connect 3 0 11 0;
+#X connect 4 0 10 0;
+#X connect 4 1 12 0;
+#X connect 5 0 6 0;
+#X connect 6 0 1 0;
+#X connect 7 0 5 0;
+#X connect 8 0 5 1;
+#X connect 9 0 6 1;
+#X connect 10 0 17 0;
+#X connect 11 0 4 0;
+#X connect 12 0 13 0;
+#X connect 12 1 14 0;
+#X connect 12 2 15 0;
+#X connect 12 3 13 1;
+#X connect 12 4 14 1;
+#X connect 12 5 15 1;
+#X connect 13 0 7 1;
+#X connect 14 0 8 1;
+#X connect 15 0 9 1;
+#X connect 16 0 7 0;
+#X connect 16 1 8 0;
+#X connect 16 2 9 0;
+#X connect 17 0 16 0;
diff --git a/tests/mtx_min/05_function.pd b/tests/mtx_min/05_function.pd
new file mode 100644
index 0000000..371194d
--- /dev/null
+++ b/tests/mtx_min/05_function.pd
@@ -0,0 +1,43 @@
+#N canvas 105 62 508 466 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X text 67 37 test for existance of [mtx_min];
+#X obj 122 89 t b;
+#X obj 122 135 t l l;
+#X obj 122 300 *;
+#X obj 122 326 *;
+#X obj 122 277 ==;
+#X obj 161 277 ==;
+#X obj 201 277 ==;
+#X msg 122 170 matrix 2 3 \$1 \$2 \$3 \$4 \$5 \$6;
+#X msg 122 110 3 -1 10.5 0.05 0 12;
+#X obj 286 195 unpack 0 0 0 0 0 0;
+#X obj 286 216 min;
+#X obj 317 216 min;
+#X obj 348 215 min;
+#X obj 122 255 unpack 0 0 0;
+#X obj 122 191 mtx_min column;
+#X connect 0 0 3 0;
+#X connect 3 0 11 0;
+#X connect 4 0 10 0;
+#X connect 4 1 12 0;
+#X connect 5 0 6 0;
+#X connect 6 0 1 0;
+#X connect 7 0 5 0;
+#X connect 8 0 5 1;
+#X connect 9 0 6 1;
+#X connect 10 0 17 0;
+#X connect 11 0 4 0;
+#X connect 12 0 13 0;
+#X connect 12 1 14 0;
+#X connect 12 2 15 0;
+#X connect 12 3 13 1;
+#X connect 12 4 14 1;
+#X connect 12 5 15 1;
+#X connect 13 0 7 1;
+#X connect 14 0 8 1;
+#X connect 15 0 9 1;
+#X connect 16 0 7 0;
+#X connect 16 1 8 0;
+#X connect 16 2 9 0;
+#X connect 17 0 16 0;
diff --git a/tests/mtx_min/06_function.pd b/tests/mtx_min/06_function.pd
new file mode 100644
index 0000000..5e9b29d
--- /dev/null
+++ b/tests/mtx_min/06_function.pd
@@ -0,0 +1,40 @@
+#N canvas 105 62 508 466 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X text 67 37 test for existance of [mtx_min];
+#X obj 122 89 t b;
+#X obj 122 135 t l l;
+#X obj 122 300 *;
+#X obj 122 277 ==;
+#X obj 161 277 ==;
+#X msg 122 170 matrix 2 3 \$1 \$2 \$3 \$4 \$5 \$6;
+#X msg 122 110 3 -1 10.5 0.05 0 12;
+#X obj 138 214 unpack 0 0 0 0 0 0;
+#X obj 138 235 min;
+#X obj 169 235 min;
+#X obj 122 255 unpack 0 0;
+#X obj 198 235 min;
+#X obj 229 235 min;
+#X obj 122 191 mtx_min row;
+#X connect 0 0 3 0;
+#X connect 3 0 9 0;
+#X connect 4 0 8 0;
+#X connect 4 1 10 0;
+#X connect 5 0 1 0;
+#X connect 6 0 5 0;
+#X connect 7 0 5 1;
+#X connect 8 0 16 0;
+#X connect 9 0 4 0;
+#X connect 10 0 11 0;
+#X connect 10 1 12 0;
+#X connect 10 2 12 1;
+#X connect 10 3 14 0;
+#X connect 10 4 15 0;
+#X connect 10 5 15 1;
+#X connect 11 0 6 1;
+#X connect 12 0 11 1;
+#X connect 13 0 6 0;
+#X connect 13 1 7 0;
+#X connect 14 0 7 1;
+#X connect 15 0 14 1;
+#X connect 16 0 13 0;