aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-12-15 18:29:32 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-12-15 18:29:32 +0000
commit7a0042776ce2db5c4959afd6f6f19a19303aebfd (patch)
tree799cbccbc0399f78920153c38c4f525c947b7eae
parentc14e1f6562ffed9ee93573851ff29a58ac3e7218 (diff)
added tests for mtx_min, mtx_max and mtx_minmax
svn path=/trunk/externals/iem/iemmatrix/; revision=4227
-rw-r--r--tests/mtx_max/00_exist.pd13
-rw-r--r--tests/mtx_max/01_function.pd17
-rw-r--r--tests/mtx_max/02_function.pd29
-rw-r--r--tests/mtx_max/03_function.pd43
-rw-r--r--tests/mtx_max/04_function.pd43
-rw-r--r--tests/mtx_max/05_function.pd43
-rw-r--r--tests/mtx_max/06_function.pd40
-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
-rw-r--r--tests/mtx_minmax/00_exist.pd13
-rw-r--r--tests/mtx_minmax/01_function.pd23
-rw-r--r--tests/mtx_minmax/02_function.pd46
-rw-r--r--tests/mtx_minmax/03_function.pd74
-rw-r--r--tests/mtx_minmax/04_function.pd74
-rw-r--r--tests/mtx_minmax/05_function.pd74
-rw-r--r--tests/mtx_minmax/06_function.pd68
-rw-r--r--tests/runtests.txt36
22 files changed, 858 insertions, 6 deletions
diff --git a/tests/mtx_max/00_exist.pd b/tests/mtx_max/00_exist.pd
new file mode 100644
index 0000000..c8c07b2
--- /dev/null
+++ b/tests/mtx_max/00_exist.pd
@@ -0,0 +1,13 @@
+#N canvas 166 104 310 436 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_max;
+#X text 67 37 test for existance of [mtx_max];
+#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_max/01_function.pd b/tests/mtx_max/01_function.pd
new file mode 100644
index 0000000..f34f13d
--- /dev/null
+++ b/tests/mtx_max/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_max;
+#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_max/02_function.pd b/tests/mtx_max/02_function.pd
new file mode 100644
index 0000000..1aa68c2
--- /dev/null
+++ b/tests/mtx_max/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_max];
+#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 122 277 ==;
+#X obj 297 167 unpack 0 0 0 0;
+#X obj 297 188 max;
+#X obj 359 187 max;
+#X obj 297 208 max;
+#X obj 122 191 mtx_max;
+#X obj 122 136 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 1 0;
+#X connect 7 0 8 0;
+#X connect 7 1 8 1;
+#X connect 7 2 9 0;
+#X connect 7 3 9 1;
+#X connect 8 0 10 0;
+#X connect 9 0 10 1;
+#X connect 10 0 6 1;
+#X connect 11 0 6 0;
+#X connect 12 0 3 0;
+#X connect 12 1 7 0;
diff --git a/tests/mtx_max/03_function.pd b/tests/mtx_max/03_function.pd
new file mode 100644
index 0000000..d8d1b96
--- /dev/null
+++ b/tests/mtx_max/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_max];
+#X obj 122 89 t b;
+#X obj 122 135 t l l;
+#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 349 196 unpack 0 0 0 0 0 0;
+#X obj 349 217 max;
+#X obj 380 217 max;
+#X obj 411 216 max;
+#X obj 122 300 *;
+#X obj 122 326 *;
+#X obj 122 277 ==;
+#X obj 161 277 ==;
+#X obj 201 277 ==;
+#X obj 122 255 unpack 0 0 0;
+#X obj 122 191 mtx_max :;
+#X connect 0 0 3 0;
+#X connect 3 0 6 0;
+#X connect 4 0 5 0;
+#X connect 4 1 7 0;
+#X connect 5 0 17 0;
+#X connect 6 0 4 0;
+#X connect 7 0 8 0;
+#X connect 7 1 9 0;
+#X connect 7 2 10 0;
+#X connect 7 3 8 1;
+#X connect 7 4 9 1;
+#X connect 7 5 10 1;
+#X connect 8 0 13 1;
+#X connect 9 0 14 1;
+#X connect 10 0 15 1;
+#X connect 11 0 12 0;
+#X connect 12 0 1 0;
+#X connect 13 0 11 0;
+#X connect 14 0 11 1;
+#X connect 15 0 12 1;
+#X connect 16 0 13 0;
+#X connect 16 1 14 0;
+#X connect 16 2 15 0;
+#X connect 17 0 16 0;
diff --git a/tests/mtx_max/04_function.pd b/tests/mtx_max/04_function.pd
new file mode 100644
index 0000000..2fc17bc
--- /dev/null
+++ b/tests/mtx_max/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_max];
+#X obj 122 89 t b;
+#X obj 122 135 t l l;
+#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 226 unpack 0 0 0 0 0 0;
+#X obj 138 247 max;
+#X obj 169 247 max;
+#X obj 200 246 max;
+#X obj 122 330 *;
+#X obj 122 356 *;
+#X obj 122 307 ==;
+#X obj 161 307 ==;
+#X obj 201 307 ==;
+#X obj 122 285 unpack 0 0 0;
+#X obj 122 191 mtx_max col;
+#X connect 0 0 3 0;
+#X connect 3 0 6 0;
+#X connect 4 0 5 0;
+#X connect 4 1 7 0;
+#X connect 5 0 17 0;
+#X connect 6 0 4 0;
+#X connect 7 0 8 0;
+#X connect 7 1 9 0;
+#X connect 7 2 10 0;
+#X connect 7 3 8 1;
+#X connect 7 4 9 1;
+#X connect 7 5 10 1;
+#X connect 8 0 13 1;
+#X connect 9 0 14 1;
+#X connect 10 0 15 1;
+#X connect 11 0 12 0;
+#X connect 12 0 1 0;
+#X connect 13 0 11 0;
+#X connect 14 0 11 1;
+#X connect 15 0 12 1;
+#X connect 16 0 13 0;
+#X connect 16 1 14 0;
+#X connect 16 2 15 0;
+#X connect 17 0 16 0;
diff --git a/tests/mtx_max/05_function.pd b/tests/mtx_max/05_function.pd
new file mode 100644
index 0000000..3ba5ac6
--- /dev/null
+++ b/tests/mtx_max/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_max];
+#X obj 122 89 t b;
+#X obj 122 135 t l l;
+#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 152 216 unpack 0 0 0 0 0 0;
+#X obj 152 237 max;
+#X obj 183 237 max;
+#X obj 214 236 max;
+#X obj 122 320 *;
+#X obj 122 346 *;
+#X obj 122 297 ==;
+#X obj 161 297 ==;
+#X obj 201 297 ==;
+#X obj 122 275 unpack 0 0 0;
+#X obj 122 191 mtx_max column;
+#X connect 0 0 3 0;
+#X connect 3 0 6 0;
+#X connect 4 0 5 0;
+#X connect 4 1 7 0;
+#X connect 5 0 17 0;
+#X connect 6 0 4 0;
+#X connect 7 0 8 0;
+#X connect 7 1 9 0;
+#X connect 7 2 10 0;
+#X connect 7 3 8 1;
+#X connect 7 4 9 1;
+#X connect 7 5 10 1;
+#X connect 8 0 13 1;
+#X connect 9 0 14 1;
+#X connect 10 0 15 1;
+#X connect 11 0 12 0;
+#X connect 12 0 1 0;
+#X connect 13 0 11 0;
+#X connect 14 0 11 1;
+#X connect 15 0 12 1;
+#X connect 16 0 13 0;
+#X connect 16 1 14 0;
+#X connect 16 2 15 0;
+#X connect 17 0 16 0;
diff --git a/tests/mtx_max/06_function.pd b/tests/mtx_max/06_function.pd
new file mode 100644
index 0000000..4a899c1
--- /dev/null
+++ b/tests/mtx_max/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_max];
+#X obj 122 89 t b;
+#X obj 122 135 t l l;
+#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 122 341 *;
+#X obj 122 318 ==;
+#X obj 161 318 ==;
+#X obj 138 255 unpack 0 0 0 0 0 0;
+#X obj 122 296 unpack 0 0;
+#X obj 138 276 max;
+#X obj 169 276 max;
+#X obj 198 276 max;
+#X obj 229 276 max;
+#X obj 122 191 mtx_max row;
+#X connect 0 0 3 0;
+#X connect 3 0 6 0;
+#X connect 4 0 5 0;
+#X connect 4 1 10 0;
+#X connect 5 0 16 0;
+#X connect 6 0 4 0;
+#X connect 7 0 1 0;
+#X connect 8 0 7 0;
+#X connect 9 0 7 1;
+#X connect 10 0 12 0;
+#X connect 10 1 13 0;
+#X connect 10 2 13 1;
+#X connect 10 3 14 0;
+#X connect 10 4 15 0;
+#X connect 10 5 15 1;
+#X connect 11 0 8 0;
+#X connect 11 1 9 0;
+#X connect 12 0 8 1;
+#X connect 13 0 12 1;
+#X connect 14 0 9 1;
+#X connect 15 0 14 1;
+#X connect 16 0 11 0;
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;
diff --git a/tests/mtx_minmax/00_exist.pd b/tests/mtx_minmax/00_exist.pd
new file mode 100644
index 0000000..8c14457
--- /dev/null
+++ b/tests/mtx_minmax/00_exist.pd
@@ -0,0 +1,13 @@
+#N canvas 385 142 508 466 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_minmax;
+#X text 67 37 test for existance of [mtx_minmax];
+#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_minmax/01_function.pd b/tests/mtx_minmax/01_function.pd
new file mode 100644
index 0000000..ec46d50
--- /dev/null
+++ b/tests/mtx_minmax/01_function.pd
@@ -0,0 +1,23 @@
+#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_minmax;
+#X obj 183 265 ==;
+#X obj 122 299 *;
+#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 3 1 8 1;
+#X connect 4 0 7 0;
+#X connect 5 0 9 0;
+#X connect 6 0 3 0;
+#X connect 7 0 5 0;
+#X connect 7 1 8 0;
+#X connect 8 0 9 1;
+#X connect 9 0 1 0;
diff --git a/tests/mtx_minmax/02_function.pd b/tests/mtx_minmax/02_function.pd
new file mode 100644
index 0000000..1643058
--- /dev/null
+++ b/tests/mtx_minmax/02_function.pd
@@ -0,0 +1,46 @@
+#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_abs];
+#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 122 300 *;
+#X obj 285 168 unpack 0 0 0 0;
+#X obj 122 277 ==;
+#X obj 153 277 ==;
+#X obj 122 191 mtx_minmax;
+#X obj 285 189 min;
+#X obj 347 188 min;
+#X obj 285 209 min;
+#X obj 122 135 t l l l;
+#X obj 387 167 unpack 0 0 0 0;
+#X obj 387 188 max;
+#X obj 449 187 max;
+#X obj 387 208 max;
+#X connect 0 0 4 0;
+#X connect 3 0 10 0;
+#X connect 4 0 5 0;
+#X connect 5 0 14 0;
+#X connect 6 0 1 0;
+#X connect 7 0 11 0;
+#X connect 7 1 11 1;
+#X connect 7 2 12 0;
+#X connect 7 3 12 1;
+#X connect 8 0 6 0;
+#X connect 9 0 6 1;
+#X connect 10 0 8 0;
+#X connect 10 1 9 0;
+#X connect 11 0 13 0;
+#X connect 12 0 13 1;
+#X connect 13 0 8 1;
+#X connect 14 0 3 0;
+#X connect 14 1 7 0;
+#X connect 14 2 15 0;
+#X connect 15 0 16 0;
+#X connect 15 1 16 1;
+#X connect 15 2 17 0;
+#X connect 15 3 17 1;
+#X connect 16 0 18 0;
+#X connect 17 0 18 1;
+#X connect 18 0 9 1;
diff --git a/tests/mtx_minmax/03_function.pd b/tests/mtx_minmax/03_function.pd
new file mode 100644
index 0000000..c7a6356
--- /dev/null
+++ b/tests/mtx_minmax/03_function.pd
@@ -0,0 +1,74 @@
+#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_abs];
+#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 122 191 mtx_minmax :;
+#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 357 *;
+#X obj 349 196 unpack 0 0 0 0 0 0;
+#X obj 349 217 max;
+#X obj 380 217 max;
+#X obj 411 216 max;
+#X obj 333 300 *;
+#X obj 333 326 *;
+#X obj 333 277 ==;
+#X obj 372 277 ==;
+#X obj 412 277 ==;
+#X obj 333 255 unpack 0 0 0;
+#X connect 0 0 3 0;
+#X connect 3 0 11 0;
+#X connect 4 0 10 0;
+#X connect 4 1 13 0;
+#X connect 4 1 19 0;
+#X connect 5 0 6 0;
+#X connect 6 0 18 0;
+#X connect 7 0 5 0;
+#X connect 8 0 5 1;
+#X connect 9 0 6 1;
+#X connect 10 0 12 0;
+#X connect 11 0 4 0;
+#X connect 12 0 17 0;
+#X connect 12 1 28 0;
+#X connect 13 0 14 0;
+#X connect 13 1 15 0;
+#X connect 13 2 16 0;
+#X connect 13 3 14 1;
+#X connect 13 4 15 1;
+#X connect 13 5 16 1;
+#X connect 14 0 7 1;
+#X connect 15 0 8 1;
+#X connect 16 0 9 1;
+#X connect 17 0 7 0;
+#X connect 17 1 8 0;
+#X connect 17 2 9 0;
+#X connect 18 0 1 0;
+#X connect 19 0 20 0;
+#X connect 19 1 21 0;
+#X connect 19 2 22 0;
+#X connect 19 3 20 1;
+#X connect 19 4 21 1;
+#X connect 19 5 22 1;
+#X connect 20 0 25 1;
+#X connect 21 0 26 1;
+#X connect 22 0 27 1;
+#X connect 23 0 24 0;
+#X connect 24 0 18 1;
+#X connect 25 0 23 0;
+#X connect 26 0 23 1;
+#X connect 27 0 24 1;
+#X connect 28 0 25 0;
+#X connect 28 1 26 0;
+#X connect 28 2 27 0;
diff --git a/tests/mtx_minmax/04_function.pd b/tests/mtx_minmax/04_function.pd
new file mode 100644
index 0000000..9787ca6
--- /dev/null
+++ b/tests/mtx_minmax/04_function.pd
@@ -0,0 +1,74 @@
+#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_abs];
+#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 357 *;
+#X obj 419 196 unpack 0 0 0 0 0 0;
+#X obj 419 217 max;
+#X obj 450 217 max;
+#X obj 481 216 max;
+#X obj 403 300 *;
+#X obj 403 326 *;
+#X obj 403 277 ==;
+#X obj 442 277 ==;
+#X obj 482 277 ==;
+#X obj 403 255 unpack 0 0 0;
+#X obj 122 191 mtx_minmax 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 4 1 18 0;
+#X connect 5 0 6 0;
+#X connect 6 0 17 0;
+#X connect 7 0 5 0;
+#X connect 8 0 5 1;
+#X connect 9 0 6 1;
+#X connect 10 0 28 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 1 0;
+#X connect 18 0 19 0;
+#X connect 18 1 20 0;
+#X connect 18 2 21 0;
+#X connect 18 3 19 1;
+#X connect 18 4 20 1;
+#X connect 18 5 21 1;
+#X connect 19 0 24 1;
+#X connect 20 0 25 1;
+#X connect 21 0 26 1;
+#X connect 22 0 23 0;
+#X connect 23 0 17 1;
+#X connect 24 0 22 0;
+#X connect 25 0 22 1;
+#X connect 26 0 23 1;
+#X connect 27 0 24 0;
+#X connect 27 1 25 0;
+#X connect 27 2 26 0;
+#X connect 28 0 16 0;
+#X connect 28 1 27 0;
diff --git a/tests/mtx_minmax/05_function.pd b/tests/mtx_minmax/05_function.pd
new file mode 100644
index 0000000..d752d29
--- /dev/null
+++ b/tests/mtx_minmax/05_function.pd
@@ -0,0 +1,74 @@
+#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_abs];
+#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 357 *;
+#X obj 419 196 unpack 0 0 0 0 0 0;
+#X obj 419 217 max;
+#X obj 450 217 max;
+#X obj 481 216 max;
+#X obj 403 300 *;
+#X obj 403 326 *;
+#X obj 403 277 ==;
+#X obj 442 277 ==;
+#X obj 482 277 ==;
+#X obj 403 255 unpack 0 0 0;
+#X obj 122 191 mtx_minmax 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 4 1 18 0;
+#X connect 5 0 6 0;
+#X connect 6 0 17 0;
+#X connect 7 0 5 0;
+#X connect 8 0 5 1;
+#X connect 9 0 6 1;
+#X connect 10 0 28 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 1 0;
+#X connect 18 0 19 0;
+#X connect 18 1 20 0;
+#X connect 18 2 21 0;
+#X connect 18 3 19 1;
+#X connect 18 4 20 1;
+#X connect 18 5 21 1;
+#X connect 19 0 24 1;
+#X connect 20 0 25 1;
+#X connect 21 0 26 1;
+#X connect 22 0 23 0;
+#X connect 23 0 17 1;
+#X connect 24 0 22 0;
+#X connect 25 0 22 1;
+#X connect 26 0 23 1;
+#X connect 27 0 24 0;
+#X connect 27 1 25 0;
+#X connect 27 2 26 0;
+#X connect 28 0 16 0;
+#X connect 28 1 27 0;
diff --git a/tests/mtx_minmax/06_function.pd b/tests/mtx_minmax/06_function.pd
new file mode 100644
index 0000000..442b66b
--- /dev/null
+++ b/tests/mtx_minmax/06_function.pd
@@ -0,0 +1,68 @@
+#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_abs];
+#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 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 191 mtx_minmax row;
+#X obj 122 255 unpack 0 0;
+#X obj 198 235 min;
+#X obj 229 235 min;
+#X obj 262 300 *;
+#X obj 262 277 ==;
+#X obj 301 277 ==;
+#X obj 278 214 unpack 0 0 0 0 0 0;
+#X obj 262 255 unpack 0 0;
+#X obj 278 235 max;
+#X obj 309 235 max;
+#X obj 338 235 max;
+#X obj 369 235 max;
+#X connect 0 0 3 0;
+#X connect 3 0 10 0;
+#X connect 4 0 9 0;
+#X connect 4 1 11 0;
+#X connect 4 1 21 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 14 0;
+#X connect 10 0 4 0;
+#X connect 11 0 12 0;
+#X connect 11 1 13 0;
+#X connect 11 2 13 1;
+#X connect 11 3 16 0;
+#X connect 11 4 17 0;
+#X connect 11 5 17 1;
+#X connect 12 0 7 1;
+#X connect 13 0 12 1;
+#X connect 14 0 15 0;
+#X connect 14 1 22 0;
+#X connect 15 0 7 0;
+#X connect 15 1 8 0;
+#X connect 16 0 8 1;
+#X connect 17 0 16 1;
+#X connect 18 0 6 1;
+#X connect 19 0 18 0;
+#X connect 20 0 18 1;
+#X connect 21 0 23 0;
+#X connect 21 1 24 0;
+#X connect 21 2 24 1;
+#X connect 21 3 25 0;
+#X connect 21 4 26 0;
+#X connect 21 5 26 1;
+#X connect 22 0 19 0;
+#X connect 22 1 20 0;
+#X connect 23 0 19 1;
+#X connect 24 0 23 1;
+#X connect 25 0 20 1;
+#X connect 26 0 25 1;
diff --git a/tests/runtests.txt b/tests/runtests.txt
index c96f048..6eda8c2 100644
--- a/tests/runtests.txt
+++ b/tests/runtests.txt
@@ -2,8 +2,8 @@ mtx_abs/00_exist;
mtx_abs/01_function;
mtx_abs/02_function;
mtx_abs/03_function;
-mtx_add/00_exist;
mtx_add/00_exist1;
+mtx_add/00_exist;
mtx_add/01_function;
mtx_add/02_function;
mtx_add/03_function;
@@ -70,10 +70,13 @@ mtx_bitright/08_function;
mtx_bitright/09_function;
mtx_bitright/10_function;
mtx_check/00_exist;
+mtx_check/01_function;
+mtx_check/02_function;
+mtx_check/03_function;
mtx_cholesky/00_exist;
mtx_col/00_exist;
-mtx_colon/00_exist;
mtx_colon/00_exist1;
+mtx_colon/00_exist;
mtx_concat/00_exist;
mtx_conv/00_exist;
mtx_cos/00_exist;
@@ -179,14 +182,35 @@ mtx_lt/08_function;
mtx_lt/09_function;
mtx_lt/10_function;
mtx_matcher/00_exist;
-mtx_matrix/00_exist;
mtx_matrix/00_exist1;
+mtx_matrix/00_exist;
+mtx_max/00_exist;
+mtx_max/01_function;
+mtx_max/02_function;
+mtx_max/03_function;
+mtx_max/04_function;
+mtx_max/05_function;
+mtx_max/06_function;
mtx_max2/00_exist;
mtx_mean/00_exist;
+mtx_min/00_exist;
+mtx_min/01_function;
+mtx_min/02_function;
+mtx_min/03_function;
+mtx_min/04_function;
+mtx_min/05_function;
+mtx_min/06_function;
mtx_min2/00_exist;
-mtx_mul/00_exist;
+mtx_minmax/00_exist;
+mtx_minmax/01_function;
+mtx_minmax/02_function;
+mtx_minmax/03_function;
+mtx_minmax/04_function;
+mtx_minmax/05_function;
+mtx_minmax/06_function;
mtx_mul/00_exist1;
mtx_mul/00_exist2;
+mtx_mul/00_exist;
mtx_neq/00_exist;
mtx_neq/01_function;
mtx_neq/02_function;
@@ -198,8 +222,8 @@ mtx_neq/07_function;
mtx_neq/08_function;
mtx_neq/09_function;
mtx_neq/10_function;
-mtx_not/00_exist;
mtx_not/00_exist1;
+mtx_not/00_exist;
mtx_ones/00_exist;
mtx_ones/01_function;
mtx_ones/02_function;
@@ -242,8 +266,8 @@ mtx_size/01_function;
mtx_slice/00_exist;
mtx_sort/00_exist;
mtx_spivot/00_exist;
-mtx_sub/00_exist;
mtx_sub/00_exist1;
+mtx_sub/00_exist;
mtx_sub/01_function;
mtx_sub/02_function;
mtx_sub/03_function;