diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-10-20 07:20:03 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-10-20 07:20:03 +0000 |
commit | 66d9805ca43ed994c5148dac2ee99b4a4f1be3e6 (patch) | |
tree | 015d9c12f9a3898b065d28b97537296143fac118 | |
parent | 81a557eac4f0754ad4f81bcdf8c435ebbe2ea059 (diff) |
tests for per-element unary operators
svn path=/trunk/externals/iem/iemmatrix/; revision=3738
27 files changed, 1173 insertions, 40 deletions
diff --git a/tests/mtx_abs/01_function.pd b/tests/mtx_abs/01_function.pd index 08d6cf0..0ad780e 100644 --- a/tests/mtx_abs/01_function.pd +++ b/tests/mtx_abs/01_function.pd @@ -1,17 +1,21 @@ #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 obj 122 161 mtx_abs; -#X text 67 37 test for existance of [mtx_abs]; -#X msg 122 183 \$3; -#X msg 122 140 matrix 1 1 -2; -#X obj 122 215 == 2; -#X connect 0 0 7 0; +#X obj 122 211 mtx_abs; +#X msg 122 233 \$3; +#X obj 122 101 t b; +#X obj 122 151 t f f; +#X msg 122 190 matrix 1 1 \$1; +#X obj 165 232 abs; +#X obj 122 265 ==; +#X msg 122 127 -2; +#X connect 0 0 4 0; #X connect 2 0 3 0; -#X connect 3 0 1 0; -#X connect 4 0 6 0; -#X connect 6 0 8 0; -#X connect 7 0 4 0; -#X connect 8 0 2 0; +#X connect 3 0 8 0; +#X connect 4 0 9 0; +#X connect 5 0 6 0; +#X connect 5 1 7 0; +#X connect 6 0 2 0; +#X connect 7 0 8 1; +#X connect 8 0 1 0; +#X connect 9 0 5 0; diff --git a/tests/mtx_abs/02_function.pd b/tests/mtx_abs/02_function.pd index 98a0bd3..17270b4 100644 --- a/tests/mtx_abs/02_function.pd +++ b/tests/mtx_abs/02_function.pd @@ -1,8 +1,6 @@ #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 obj 122 191 mtx_abs; #X text 67 37 test for existance of [mtx_abs]; #X msg 122 170 matrix 2 2 \$1 \$2 \$3 \$4; @@ -23,32 +21,30 @@ #X obj 267 239 abs; #X obj 298 238 abs; #X obj 329 238 abs; -#X connect 0 0 7 0; -#X connect 2 0 3 0; -#X connect 3 0 1 0; -#X connect 4 0 10 0; -#X connect 6 0 4 0; -#X connect 7 0 8 0; +#X connect 0 0 5 0; +#X connect 2 0 8 0; +#X connect 4 0 2 0; +#X connect 5 0 6 0; +#X connect 6 0 7 0; +#X connect 7 0 4 0; +#X connect 7 1 13 0; #X connect 8 0 9 0; -#X connect 9 0 6 0; +#X connect 9 0 14 0; #X connect 9 1 15 0; -#X connect 10 0 11 0; -#X connect 11 0 16 0; -#X connect 11 1 17 0; -#X connect 11 2 18 0; -#X connect 11 3 19 0; -#X connect 12 0 14 1; -#X connect 13 0 14 0; -#X connect 14 0 2 0; -#X connect 15 0 20 0; -#X connect 15 1 21 0; -#X connect 15 2 22 0; -#X connect 15 3 23 0; -#X connect 16 0 13 0; -#X connect 17 0 13 1; -#X connect 18 0 12 0; -#X connect 19 0 12 1; +#X connect 9 2 16 0; +#X connect 9 3 17 0; +#X connect 10 0 12 1; +#X connect 11 0 12 0; +#X connect 12 0 1 0; +#X connect 13 0 18 0; +#X connect 13 1 19 0; +#X connect 13 2 20 0; +#X connect 13 3 21 0; +#X connect 14 0 11 0; +#X connect 15 0 11 1; +#X connect 16 0 10 0; +#X connect 17 0 10 1; +#X connect 18 0 14 1; +#X connect 19 0 15 1; #X connect 20 0 16 1; #X connect 21 0 17 1; -#X connect 22 0 18 1; -#X connect 23 0 19 1; diff --git a/tests/mtx_abs/03_function.pd b/tests/mtx_abs/03_function.pd new file mode 100644 index 0000000..7ac998a --- /dev/null +++ b/tests/mtx_abs/03_function.pd @@ -0,0 +1,66 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 191 mtx_abs; +#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 184 300 *; +#X obj 122 300 *; +#X obj 122 326 *; +#X obj 122 277 ==; +#X obj 153 277 ==; +#X obj 184 277 ==; +#X obj 215 277 ==; +#X obj 266 239 abs; +#X obj 297 239 abs; +#X obj 328 238 abs; +#X obj 359 238 abs; +#X msg 122 170 matrix 2 3 \$1 \$2 \$3 \$4 \$5 \$6; +#X obj 254 300 *; +#X obj 254 277 ==; +#X obj 285 277 ==; +#X obj 122 238 unpack 0 0 0 0 0 0; +#X msg 122 213 \$3 \$4 \$5 \$6 \$7 \$8; +#X obj 388 238 abs; +#X obj 419 238 abs; +#X obj 266 218 unpack 0 0 0 0 0 0; +#X obj 122 347 *; +#X msg 122 110 3 -1 10.5 0.05 0 12; +#X connect 0 0 4 0; +#X connect 2 0 22 0; +#X connect 4 0 27 0; +#X connect 5 0 17 0; +#X connect 5 1 25 0; +#X connect 6 0 8 1; +#X connect 7 0 8 0; +#X connect 8 0 26 0; +#X connect 9 0 7 0; +#X connect 10 0 7 1; +#X connect 11 0 6 0; +#X connect 12 0 6 1; +#X connect 13 0 9 1; +#X connect 14 0 10 1; +#X connect 15 0 11 1; +#X connect 16 0 12 1; +#X connect 17 0 2 0; +#X connect 18 0 26 1; +#X connect 19 0 18 0; +#X connect 20 0 18 1; +#X connect 21 0 9 0; +#X connect 21 1 10 0; +#X connect 21 2 11 0; +#X connect 21 3 12 0; +#X connect 21 4 19 0; +#X connect 21 5 20 0; +#X connect 22 0 21 0; +#X connect 23 0 19 1; +#X connect 24 0 20 1; +#X connect 25 0 13 0; +#X connect 25 1 14 0; +#X connect 25 2 15 0; +#X connect 25 3 16 0; +#X connect 25 4 23 0; +#X connect 25 5 24 0; +#X connect 26 0 1 0; +#X connect 27 0 5 0; diff --git a/tests/mtx_cos/01_function.pd b/tests/mtx_cos/01_function.pd new file mode 100644 index 0000000..b1a7bd8 --- /dev/null +++ b/tests/mtx_cos/01_function.pd @@ -0,0 +1,21 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 211 mtx_cos; +#X msg 122 233 \$3; +#X obj 122 101 t b; +#X obj 122 151 t f f; +#X msg 122 190 matrix 1 1 \$1; +#X obj 165 232 cos; +#X obj 122 265 ==; +#X msg 122 127 -2; +#X connect 0 0 4 0; +#X connect 2 0 3 0; +#X connect 3 0 8 0; +#X connect 4 0 9 0; +#X connect 5 0 6 0; +#X connect 5 1 7 0; +#X connect 6 0 2 0; +#X connect 7 0 8 1; +#X connect 8 0 1 0; +#X connect 9 0 5 0; diff --git a/tests/mtx_cos/02_function.pd b/tests/mtx_cos/02_function.pd new file mode 100644 index 0000000..2e8d038 --- /dev/null +++ b/tests/mtx_cos/02_function.pd @@ -0,0 +1,50 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 191 mtx_cos; +#X text 67 37 test for existance of [mtx_cos]; +#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 135 t l l; +#X msg 122 213 \$3 \$4 \$5 \$6; +#X obj 122 238 unpack 0 0 0 0; +#X obj 184 300 *; +#X obj 122 300 *; +#X obj 122 326 *; +#X obj 236 218 unpack 0 0 0 0; +#X obj 122 277 ==; +#X obj 153 277 ==; +#X obj 184 277 ==; +#X obj 215 277 ==; +#X obj 236 239 cos; +#X obj 267 239 cos; +#X obj 298 238 cos; +#X obj 329 238 cos; +#X connect 0 0 5 0; +#X connect 2 0 8 0; +#X connect 4 0 2 0; +#X connect 5 0 6 0; +#X connect 6 0 7 0; +#X connect 7 0 4 0; +#X connect 7 1 13 0; +#X connect 8 0 9 0; +#X connect 9 0 14 0; +#X connect 9 1 15 0; +#X connect 9 2 16 0; +#X connect 9 3 17 0; +#X connect 10 0 12 1; +#X connect 11 0 12 0; +#X connect 12 0 1 0; +#X connect 13 0 18 0; +#X connect 13 1 19 0; +#X connect 13 2 20 0; +#X connect 13 3 21 0; +#X connect 14 0 11 0; +#X connect 15 0 11 1; +#X connect 16 0 10 0; +#X connect 17 0 10 1; +#X connect 18 0 14 1; +#X connect 19 0 15 1; +#X connect 20 0 16 1; +#X connect 21 0 17 1; diff --git a/tests/mtx_cos/03_function.pd b/tests/mtx_cos/03_function.pd new file mode 100644 index 0000000..f4b54ef --- /dev/null +++ b/tests/mtx_cos/03_function.pd @@ -0,0 +1,66 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 191 mtx_cos; +#X text 67 37 test for existance of [mtx_cos]; +#X obj 122 89 t b; +#X obj 122 135 t l l; +#X obj 184 300 *; +#X obj 122 300 *; +#X obj 122 326 *; +#X obj 122 277 ==; +#X obj 153 277 ==; +#X obj 184 277 ==; +#X obj 215 277 ==; +#X obj 266 239 cos; +#X obj 297 239 cos; +#X obj 328 238 cos; +#X obj 359 238 cos; +#X msg 122 170 matrix 2 3 \$1 \$2 \$3 \$4 \$5 \$6; +#X obj 254 300 *; +#X obj 254 277 ==; +#X obj 285 277 ==; +#X obj 122 238 unpack 0 0 0 0 0 0; +#X msg 122 213 \$3 \$4 \$5 \$6 \$7 \$8; +#X obj 388 238 cos; +#X obj 419 238 cos; +#X obj 266 218 unpack 0 0 0 0 0 0; +#X obj 122 347 *; +#X msg 122 110 3 -1 10.5 0.05 0 12; +#X connect 0 0 4 0; +#X connect 2 0 22 0; +#X connect 4 0 27 0; +#X connect 5 0 17 0; +#X connect 5 1 25 0; +#X connect 6 0 8 1; +#X connect 7 0 8 0; +#X connect 8 0 26 0; +#X connect 9 0 7 0; +#X connect 10 0 7 1; +#X connect 11 0 6 0; +#X connect 12 0 6 1; +#X connect 13 0 9 1; +#X connect 14 0 10 1; +#X connect 15 0 11 1; +#X connect 16 0 12 1; +#X connect 17 0 2 0; +#X connect 18 0 26 1; +#X connect 19 0 18 0; +#X connect 20 0 18 1; +#X connect 21 0 9 0; +#X connect 21 1 10 0; +#X connect 21 2 11 0; +#X connect 21 3 12 0; +#X connect 21 4 19 0; +#X connect 21 5 20 0; +#X connect 22 0 21 0; +#X connect 23 0 19 1; +#X connect 24 0 20 1; +#X connect 25 0 13 0; +#X connect 25 1 14 0; +#X connect 25 2 15 0; +#X connect 25 3 16 0; +#X connect 25 4 23 0; +#X connect 25 5 24 0; +#X connect 26 0 1 0; +#X connect 27 0 5 0; diff --git a/tests/mtx_dbtorms/01_function.pd b/tests/mtx_dbtorms/01_function.pd new file mode 100644 index 0000000..6bdf47f --- /dev/null +++ b/tests/mtx_dbtorms/01_function.pd @@ -0,0 +1,21 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 211 mtx_dbtorms; +#X msg 122 233 \$3; +#X obj 122 101 t b; +#X obj 122 151 t f f; +#X msg 122 190 matrix 1 1 \$1; +#X obj 165 232 dbtorms; +#X obj 122 265 ==; +#X msg 122 127 -2; +#X connect 0 0 4 0; +#X connect 2 0 3 0; +#X connect 3 0 8 0; +#X connect 4 0 9 0; +#X connect 5 0 6 0; +#X connect 5 1 7 0; +#X connect 6 0 2 0; +#X connect 7 0 8 1; +#X connect 8 0 1 0; +#X connect 9 0 5 0; diff --git a/tests/mtx_dbtorms/02_function.pd b/tests/mtx_dbtorms/02_function.pd new file mode 100644 index 0000000..7cc60c8 --- /dev/null +++ b/tests/mtx_dbtorms/02_function.pd @@ -0,0 +1,50 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 191 mtx_dbtorms; +#X text 67 37 test for existance of [mtx_dbtorms]; +#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 135 t l l; +#X msg 122 213 \$3 \$4 \$5 \$6; +#X obj 122 238 unpack 0 0 0 0; +#X obj 184 300 *; +#X obj 122 300 *; +#X obj 122 326 *; +#X obj 236 218 unpack 0 0 0 0; +#X obj 122 277 ==; +#X obj 153 277 ==; +#X obj 184 277 ==; +#X obj 215 277 ==; +#X obj 236 239 dbtorms; +#X obj 267 239 dbtorms; +#X obj 298 238 dbtorms; +#X obj 329 238 dbtorms; +#X connect 0 0 5 0; +#X connect 2 0 8 0; +#X connect 4 0 2 0; +#X connect 5 0 6 0; +#X connect 6 0 7 0; +#X connect 7 0 4 0; +#X connect 7 1 13 0; +#X connect 8 0 9 0; +#X connect 9 0 14 0; +#X connect 9 1 15 0; +#X connect 9 2 16 0; +#X connect 9 3 17 0; +#X connect 10 0 12 1; +#X connect 11 0 12 0; +#X connect 12 0 1 0; +#X connect 13 0 18 0; +#X connect 13 1 19 0; +#X connect 13 2 20 0; +#X connect 13 3 21 0; +#X connect 14 0 11 0; +#X connect 15 0 11 1; +#X connect 16 0 10 0; +#X connect 17 0 10 1; +#X connect 18 0 14 1; +#X connect 19 0 15 1; +#X connect 20 0 16 1; +#X connect 21 0 17 1; diff --git a/tests/mtx_dbtorms/03_function.pd b/tests/mtx_dbtorms/03_function.pd new file mode 100644 index 0000000..df3da38 --- /dev/null +++ b/tests/mtx_dbtorms/03_function.pd @@ -0,0 +1,66 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 191 mtx_dbtorms; +#X text 67 37 test for existance of [mtx_dbtorms]; +#X obj 122 89 t b; +#X obj 122 135 t l l; +#X obj 184 300 *; +#X obj 122 300 *; +#X obj 122 326 *; +#X obj 122 277 ==; +#X obj 153 277 ==; +#X obj 184 277 ==; +#X obj 215 277 ==; +#X obj 266 239 dbtorms; +#X obj 297 239 dbtorms; +#X obj 328 238 dbtorms; +#X obj 359 238 dbtorms; +#X msg 122 170 matrix 2 3 \$1 \$2 \$3 \$4 \$5 \$6; +#X obj 254 300 *; +#X obj 254 277 ==; +#X obj 285 277 ==; +#X obj 122 238 unpack 0 0 0 0 0 0; +#X msg 122 213 \$3 \$4 \$5 \$6 \$7 \$8; +#X obj 388 238 dbtorms; +#X obj 419 238 dbtorms; +#X obj 266 218 unpack 0 0 0 0 0 0; +#X obj 122 347 *; +#X msg 122 110 3 -1 10.5 0.05 0 12; +#X connect 0 0 4 0; +#X connect 2 0 22 0; +#X connect 4 0 27 0; +#X connect 5 0 17 0; +#X connect 5 1 25 0; +#X connect 6 0 8 1; +#X connect 7 0 8 0; +#X connect 8 0 26 0; +#X connect 9 0 7 0; +#X connect 10 0 7 1; +#X connect 11 0 6 0; +#X connect 12 0 6 1; +#X connect 13 0 9 1; +#X connect 14 0 10 1; +#X connect 15 0 11 1; +#X connect 16 0 12 1; +#X connect 17 0 2 0; +#X connect 18 0 26 1; +#X connect 19 0 18 0; +#X connect 20 0 18 1; +#X connect 21 0 9 0; +#X connect 21 1 10 0; +#X connect 21 2 11 0; +#X connect 21 3 12 0; +#X connect 21 4 19 0; +#X connect 21 5 20 0; +#X connect 22 0 21 0; +#X connect 23 0 19 1; +#X connect 24 0 20 1; +#X connect 25 0 13 0; +#X connect 25 1 14 0; +#X connect 25 2 15 0; +#X connect 25 3 16 0; +#X connect 25 4 23 0; +#X connect 25 5 24 0; +#X connect 26 0 1 0; +#X connect 27 0 5 0; diff --git a/tests/mtx_exp/01_function.pd b/tests/mtx_exp/01_function.pd new file mode 100644 index 0000000..5610c42 --- /dev/null +++ b/tests/mtx_exp/01_function.pd @@ -0,0 +1,21 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 211 mtx_exp; +#X msg 122 233 \$3; +#X obj 122 101 t b; +#X obj 122 151 t f f; +#X msg 122 190 matrix 1 1 \$1; +#X obj 165 232 exp; +#X obj 122 265 ==; +#X msg 122 127 -2; +#X connect 0 0 4 0; +#X connect 2 0 3 0; +#X connect 3 0 8 0; +#X connect 4 0 9 0; +#X connect 5 0 6 0; +#X connect 5 1 7 0; +#X connect 6 0 2 0; +#X connect 7 0 8 1; +#X connect 8 0 1 0; +#X connect 9 0 5 0; diff --git a/tests/mtx_exp/02_function.pd b/tests/mtx_exp/02_function.pd new file mode 100644 index 0000000..f64c0c2 --- /dev/null +++ b/tests/mtx_exp/02_function.pd @@ -0,0 +1,50 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 191 mtx_exp; +#X text 67 37 test for existance of [mtx_exp]; +#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 135 t l l; +#X msg 122 213 \$3 \$4 \$5 \$6; +#X obj 122 238 unpack 0 0 0 0; +#X obj 184 300 *; +#X obj 122 300 *; +#X obj 122 326 *; +#X obj 236 218 unpack 0 0 0 0; +#X obj 122 277 ==; +#X obj 153 277 ==; +#X obj 184 277 ==; +#X obj 215 277 ==; +#X obj 236 239 exp; +#X obj 267 239 exp; +#X obj 298 238 exp; +#X obj 329 238 exp; +#X connect 0 0 5 0; +#X connect 2 0 8 0; +#X connect 4 0 2 0; +#X connect 5 0 6 0; +#X connect 6 0 7 0; +#X connect 7 0 4 0; +#X connect 7 1 13 0; +#X connect 8 0 9 0; +#X connect 9 0 14 0; +#X connect 9 1 15 0; +#X connect 9 2 16 0; +#X connect 9 3 17 0; +#X connect 10 0 12 1; +#X connect 11 0 12 0; +#X connect 12 0 1 0; +#X connect 13 0 18 0; +#X connect 13 1 19 0; +#X connect 13 2 20 0; +#X connect 13 3 21 0; +#X connect 14 0 11 0; +#X connect 15 0 11 1; +#X connect 16 0 10 0; +#X connect 17 0 10 1; +#X connect 18 0 14 1; +#X connect 19 0 15 1; +#X connect 20 0 16 1; +#X connect 21 0 17 1; diff --git a/tests/mtx_exp/03_function.pd b/tests/mtx_exp/03_function.pd new file mode 100644 index 0000000..73a7903 --- /dev/null +++ b/tests/mtx_exp/03_function.pd @@ -0,0 +1,66 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 191 mtx_exp; +#X text 67 37 test for existance of [mtx_exp]; +#X obj 122 89 t b; +#X obj 122 135 t l l; +#X obj 184 300 *; +#X obj 122 300 *; +#X obj 122 326 *; +#X obj 122 277 ==; +#X obj 153 277 ==; +#X obj 184 277 ==; +#X obj 215 277 ==; +#X obj 266 239 exp; +#X obj 297 239 exp; +#X obj 328 238 exp; +#X obj 359 238 exp; +#X msg 122 170 matrix 2 3 \$1 \$2 \$3 \$4 \$5 \$6; +#X obj 254 300 *; +#X obj 254 277 ==; +#X obj 285 277 ==; +#X obj 122 238 unpack 0 0 0 0 0 0; +#X msg 122 213 \$3 \$4 \$5 \$6 \$7 \$8; +#X obj 388 238 exp; +#X obj 419 238 exp; +#X obj 266 218 unpack 0 0 0 0 0 0; +#X obj 122 347 *; +#X msg 122 110 3 -1 10.5 0.05 0 12; +#X connect 0 0 4 0; +#X connect 2 0 22 0; +#X connect 4 0 27 0; +#X connect 5 0 17 0; +#X connect 5 1 25 0; +#X connect 6 0 8 1; +#X connect 7 0 8 0; +#X connect 8 0 26 0; +#X connect 9 0 7 0; +#X connect 10 0 7 1; +#X connect 11 0 6 0; +#X connect 12 0 6 1; +#X connect 13 0 9 1; +#X connect 14 0 10 1; +#X connect 15 0 11 1; +#X connect 16 0 12 1; +#X connect 17 0 2 0; +#X connect 18 0 26 1; +#X connect 19 0 18 0; +#X connect 20 0 18 1; +#X connect 21 0 9 0; +#X connect 21 1 10 0; +#X connect 21 2 11 0; +#X connect 21 3 12 0; +#X connect 21 4 19 0; +#X connect 21 5 20 0; +#X connect 22 0 21 0; +#X connect 23 0 19 1; +#X connect 24 0 20 1; +#X connect 25 0 13 0; +#X connect 25 1 14 0; +#X connect 25 2 15 0; +#X connect 25 3 16 0; +#X connect 25 4 23 0; +#X connect 25 5 24 0; +#X connect 26 0 1 0; +#X connect 27 0 5 0; diff --git a/tests/mtx_int/01_function.pd b/tests/mtx_int/01_function.pd new file mode 100644 index 0000000..9c93fcf --- /dev/null +++ b/tests/mtx_int/01_function.pd @@ -0,0 +1,21 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 211 mtx_int; +#X msg 122 233 \$3; +#X obj 122 101 t b; +#X obj 122 151 t f f; +#X msg 122 190 matrix 1 1 \$1; +#X obj 165 232 int; +#X obj 122 265 ==; +#X msg 122 127 -2; +#X connect 0 0 4 0; +#X connect 2 0 3 0; +#X connect 3 0 8 0; +#X connect 4 0 9 0; +#X connect 5 0 6 0; +#X connect 5 1 7 0; +#X connect 6 0 2 0; +#X connect 7 0 8 1; +#X connect 8 0 1 0; +#X connect 9 0 5 0; diff --git a/tests/mtx_int/02_function.pd b/tests/mtx_int/02_function.pd new file mode 100644 index 0000000..b1798f7 --- /dev/null +++ b/tests/mtx_int/02_function.pd @@ -0,0 +1,50 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 191 mtx_int; +#X text 67 37 test for existance of [mtx_int]; +#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 135 t l l; +#X msg 122 213 \$3 \$4 \$5 \$6; +#X obj 122 238 unpack 0 0 0 0; +#X obj 184 300 *; +#X obj 122 300 *; +#X obj 122 326 *; +#X obj 236 218 unpack 0 0 0 0; +#X obj 122 277 ==; +#X obj 153 277 ==; +#X obj 184 277 ==; +#X obj 215 277 ==; +#X obj 236 239 int; +#X obj 267 239 int; +#X obj 298 238 int; +#X obj 329 238 int; +#X connect 0 0 5 0; +#X connect 2 0 8 0; +#X connect 4 0 2 0; +#X connect 5 0 6 0; +#X connect 6 0 7 0; +#X connect 7 0 4 0; +#X connect 7 1 13 0; +#X connect 8 0 9 0; +#X connect 9 0 14 0; +#X connect 9 1 15 0; +#X connect 9 2 16 0; +#X connect 9 3 17 0; +#X connect 10 0 12 1; +#X connect 11 0 12 0; +#X connect 12 0 1 0; +#X connect 13 0 18 0; +#X connect 13 1 19 0; +#X connect 13 2 20 0; +#X connect 13 3 21 0; +#X connect 14 0 11 0; +#X connect 15 0 11 1; +#X connect 16 0 10 0; +#X connect 17 0 10 1; +#X connect 18 0 14 1; +#X connect 19 0 15 1; +#X connect 20 0 16 1; +#X connect 21 0 17 1; diff --git a/tests/mtx_int/03_function.pd b/tests/mtx_int/03_function.pd new file mode 100644 index 0000000..6a3d4b6 --- /dev/null +++ b/tests/mtx_int/03_function.pd @@ -0,0 +1,66 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 191 mtx_int; +#X text 67 37 test for existance of [mtx_int]; +#X obj 122 89 t b; +#X obj 122 135 t l l; +#X obj 184 300 *; +#X obj 122 300 *; +#X obj 122 326 *; +#X obj 122 277 ==; +#X obj 153 277 ==; +#X obj 184 277 ==; +#X obj 215 277 ==; +#X obj 266 239 int; +#X obj 297 239 int; +#X obj 328 238 int; +#X obj 359 238 int; +#X msg 122 170 matrix 2 3 \$1 \$2 \$3 \$4 \$5 \$6; +#X obj 254 300 *; +#X obj 254 277 ==; +#X obj 285 277 ==; +#X obj 122 238 unpack 0 0 0 0 0 0; +#X msg 122 213 \$3 \$4 \$5 \$6 \$7 \$8; +#X obj 388 238 int; +#X obj 419 238 int; +#X obj 266 218 unpack 0 0 0 0 0 0; +#X obj 122 347 *; +#X msg 122 110 3 -1 10.5 0.05 0 12; +#X connect 0 0 4 0; +#X connect 2 0 22 0; +#X connect 4 0 27 0; +#X connect 5 0 17 0; +#X connect 5 1 25 0; +#X connect 6 0 8 1; +#X connect 7 0 8 0; +#X connect 8 0 26 0; +#X connect 9 0 7 0; +#X connect 10 0 7 1; +#X connect 11 0 6 0; +#X connect 12 0 6 1; +#X connect 13 0 9 1; +#X connect 14 0 10 1; +#X connect 15 0 11 1; +#X connect 16 0 12 1; +#X connect 17 0 2 0; +#X connect 18 0 26 1; +#X connect 19 0 18 0; +#X connect 20 0 18 1; +#X connect 21 0 9 0; +#X connect 21 1 10 0; +#X connect 21 2 11 0; +#X connect 21 3 12 0; +#X connect 21 4 19 0; +#X connect 21 5 20 0; +#X connect 22 0 21 0; +#X connect 23 0 19 1; +#X connect 24 0 20 1; +#X connect 25 0 13 0; +#X connect 25 1 14 0; +#X connect 25 2 15 0; +#X connect 25 3 16 0; +#X connect 25 4 23 0; +#X connect 25 5 24 0; +#X connect 26 0 1 0; +#X connect 27 0 5 0; diff --git a/tests/mtx_log/01_function.pd b/tests/mtx_log/01_function.pd new file mode 100644 index 0000000..11290fc --- /dev/null +++ b/tests/mtx_log/01_function.pd @@ -0,0 +1,21 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 211 mtx_log; +#X msg 122 233 \$3; +#X obj 122 101 t b; +#X obj 122 151 t f f; +#X msg 122 188 matrix 1 1 \$1; +#X obj 165 232 log; +#X obj 122 271 ==; +#X msg 122 127 2; +#X connect 0 0 4 0; +#X connect 2 0 3 0; +#X connect 3 0 8 0; +#X connect 4 0 9 0; +#X connect 5 0 6 0; +#X connect 5 1 7 0; +#X connect 6 0 2 0; +#X connect 7 0 8 1; +#X connect 8 0 1 0; +#X connect 9 0 5 0; diff --git a/tests/mtx_log/02_function.pd b/tests/mtx_log/02_function.pd new file mode 100644 index 0000000..17059c0 --- /dev/null +++ b/tests/mtx_log/02_function.pd @@ -0,0 +1,50 @@ +#N canvas 597 136 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 191 mtx_log; +#X text 67 37 test for existance of [mtx_log]; +#X msg 122 170 matrix 2 2 \$1 \$2 \$3 \$4; +#X obj 122 89 t b; +#X obj 122 135 t l l; +#X msg 122 213 \$3 \$4 \$5 \$6; +#X obj 122 238 unpack 0 0 0 0; +#X obj 184 300 *; +#X obj 122 300 *; +#X obj 122 326 *; +#X obj 236 218 unpack 0 0 0 0; +#X obj 122 277 ==; +#X obj 153 277 ==; +#X obj 184 277 ==; +#X obj 215 277 ==; +#X obj 236 239 log; +#X obj 267 239 log; +#X obj 298 238 log; +#X obj 329 238 log; +#X msg 122 110 3 1 10.5 0.1; +#X connect 0 0 5 0; +#X connect 2 0 7 0; +#X connect 4 0 2 0; +#X connect 5 0 21 0; +#X connect 6 0 4 0; +#X connect 6 1 12 0; +#X connect 7 0 8 0; +#X connect 8 0 13 0; +#X connect 8 1 14 0; +#X connect 8 2 15 0; +#X connect 8 3 16 0; +#X connect 9 0 11 1; +#X connect 10 0 11 0; +#X connect 11 0 1 0; +#X connect 12 0 17 0; +#X connect 12 1 18 0; +#X connect 12 2 19 0; +#X connect 12 3 20 0; +#X connect 13 0 10 0; +#X connect 14 0 10 1; +#X connect 15 0 9 0; +#X connect 16 0 9 1; +#X connect 17 0 13 1; +#X connect 18 0 14 1; +#X connect 19 0 15 1; +#X connect 20 0 16 1; +#X connect 21 0 6 0; diff --git a/tests/mtx_log/03_function.pd b/tests/mtx_log/03_function.pd new file mode 100644 index 0000000..6b661c1 --- /dev/null +++ b/tests/mtx_log/03_function.pd @@ -0,0 +1,66 @@ +#N canvas 42 94 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 191 mtx_log; +#X text 67 37 test for existance of [mtx_log]; +#X obj 122 89 t b; +#X obj 122 135 t l l; +#X obj 184 300 *; +#X obj 122 300 *; +#X obj 122 326 *; +#X obj 122 277 ==; +#X obj 153 277 ==; +#X obj 184 277 ==; +#X obj 215 277 ==; +#X obj 266 239 log; +#X obj 297 239 log; +#X obj 328 238 log; +#X obj 359 238 log; +#X msg 122 170 matrix 2 3 \$1 \$2 \$3 \$4 \$5 \$6; +#X obj 254 300 *; +#X obj 254 277 ==; +#X obj 285 277 ==; +#X obj 122 238 unpack 0 0 0 0 0 0; +#X msg 122 213 \$3 \$4 \$5 \$6 \$7 \$8; +#X obj 388 238 log; +#X obj 419 238 log; +#X obj 266 218 unpack 0 0 0 0 0 0; +#X obj 122 347 *; +#X msg 122 110 4 2 10.5 0.05 100 12; +#X connect 0 0 4 0; +#X connect 2 0 22 0; +#X connect 4 0 27 0; +#X connect 5 0 17 0; +#X connect 5 1 25 0; +#X connect 6 0 8 1; +#X connect 7 0 8 0; +#X connect 8 0 26 0; +#X connect 9 0 7 0; +#X connect 10 0 7 1; +#X connect 11 0 6 0; +#X connect 12 0 6 1; +#X connect 13 0 9 1; +#X connect 14 0 10 1; +#X connect 15 0 11 1; +#X connect 16 0 12 1; +#X connect 17 0 2 0; +#X connect 18 0 26 1; +#X connect 19 0 18 0; +#X connect 20 0 18 1; +#X connect 21 0 9 0; +#X connect 21 1 10 0; +#X connect 21 2 11 0; +#X connect 21 3 12 0; +#X connect 21 4 19 0; +#X connect 21 5 20 0; +#X connect 22 0 21 0; +#X connect 23 0 19 1; +#X connect 24 0 20 1; +#X connect 25 0 13 0; +#X connect 25 1 14 0; +#X connect 25 2 15 0; +#X connect 25 3 16 0; +#X connect 25 4 23 0; +#X connect 25 5 24 0; +#X connect 26 0 1 0; +#X connect 27 0 5 0; diff --git a/tests/mtx_log/04_function.pd b/tests/mtx_log/04_function.pd new file mode 100644 index 0000000..ea1161c --- /dev/null +++ b/tests/mtx_log/04_function.pd @@ -0,0 +1,59 @@ +#N canvas 385 142 710 488 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 222 191 mtx_log; +#X text 67 37 test for existance of [mtx_log]; +#X msg 222 170 matrix 2 2 \$1 \$2 \$3 \$4; +#X msg 222 110 3 -1 -10.5 0; +#X obj 222 135 t l l; +#X msg 222 213 \$3 \$4 \$5 \$6; +#X obj 222 238 unpack 0 0 0 0; +#X obj 284 300 *; +#X obj 222 300 *; +#X obj 222 326 *; +#X obj 336 218 unpack 0 0 0 0; +#X obj 222 277 ==; +#X obj 253 277 ==; +#X obj 284 277 ==; +#X obj 315 277 ==; +#X obj 336 239 log; +#X obj 367 239 log; +#X obj 398 238 log; +#X obj 429 238 log; +#X obj 122 89 t b b; +#X obj 222 433 print mtx_log; +#X msg 222 392 for NaNs the behaviour different from [log] \, this +no bug !; +#X msg 122 354 1; +#X obj 222 351 select 0; +#X connect 0 0 21 0; +#X connect 2 0 7 0; +#X connect 4 0 2 0; +#X connect 5 0 6 0; +#X connect 6 0 4 0; +#X connect 6 1 12 0; +#X connect 7 0 8 0; +#X connect 8 0 13 0; +#X connect 8 1 14 0; +#X connect 8 2 15 0; +#X connect 8 3 16 0; +#X connect 9 0 11 1; +#X connect 10 0 11 0; +#X connect 11 0 25 0; +#X connect 12 0 17 0; +#X connect 12 1 18 0; +#X connect 12 2 19 0; +#X connect 12 3 20 0; +#X connect 13 0 10 0; +#X connect 14 0 10 1; +#X connect 15 0 9 0; +#X connect 16 0 9 1; +#X connect 17 0 13 1; +#X connect 18 0 14 1; +#X connect 19 0 15 1; +#X connect 20 0 16 1; +#X connect 21 0 24 0; +#X connect 21 1 5 0; +#X connect 23 0 22 0; +#X connect 24 0 1 0; +#X connect 25 0 23 0; diff --git a/tests/mtx_rmstodb/01_function.pd b/tests/mtx_rmstodb/01_function.pd new file mode 100644 index 0000000..9a8a959 --- /dev/null +++ b/tests/mtx_rmstodb/01_function.pd @@ -0,0 +1,21 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 211 mtx_rmstodb; +#X msg 122 233 \$3; +#X obj 122 101 t b; +#X obj 122 151 t f f; +#X msg 122 190 matrix 1 1 \$1; +#X obj 165 232 rmstodb; +#X obj 122 265 ==; +#X msg 122 127 -2; +#X connect 0 0 4 0; +#X connect 2 0 3 0; +#X connect 3 0 8 0; +#X connect 4 0 9 0; +#X connect 5 0 6 0; +#X connect 5 1 7 0; +#X connect 6 0 2 0; +#X connect 7 0 8 1; +#X connect 8 0 1 0; +#X connect 9 0 5 0; diff --git a/tests/mtx_rmstodb/02_function.pd b/tests/mtx_rmstodb/02_function.pd new file mode 100644 index 0000000..0a7ef26 --- /dev/null +++ b/tests/mtx_rmstodb/02_function.pd @@ -0,0 +1,50 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 191 mtx_rmstodb; +#X text 67 37 test for existance of [mtx_rmstodb]; +#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 135 t l l; +#X msg 122 213 \$3 \$4 \$5 \$6; +#X obj 122 238 unpack 0 0 0 0; +#X obj 184 300 *; +#X obj 122 300 *; +#X obj 122 326 *; +#X obj 236 218 unpack 0 0 0 0; +#X obj 122 277 ==; +#X obj 153 277 ==; +#X obj 184 277 ==; +#X obj 215 277 ==; +#X obj 236 239 rmstodb; +#X obj 267 239 rmstodb; +#X obj 298 238 rmstodb; +#X obj 329 238 rmstodb; +#X connect 0 0 5 0; +#X connect 2 0 8 0; +#X connect 4 0 2 0; +#X connect 5 0 6 0; +#X connect 6 0 7 0; +#X connect 7 0 4 0; +#X connect 7 1 13 0; +#X connect 8 0 9 0; +#X connect 9 0 14 0; +#X connect 9 1 15 0; +#X connect 9 2 16 0; +#X connect 9 3 17 0; +#X connect 10 0 12 1; +#X connect 11 0 12 0; +#X connect 12 0 1 0; +#X connect 13 0 18 0; +#X connect 13 1 19 0; +#X connect 13 2 20 0; +#X connect 13 3 21 0; +#X connect 14 0 11 0; +#X connect 15 0 11 1; +#X connect 16 0 10 0; +#X connect 17 0 10 1; +#X connect 18 0 14 1; +#X connect 19 0 15 1; +#X connect 20 0 16 1; +#X connect 21 0 17 1; diff --git a/tests/mtx_rmstodb/03_function.pd b/tests/mtx_rmstodb/03_function.pd new file mode 100644 index 0000000..003d665 --- /dev/null +++ b/tests/mtx_rmstodb/03_function.pd @@ -0,0 +1,66 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 191 mtx_rmstodb; +#X text 67 37 test for existance of [mtx_rmstodb]; +#X obj 122 89 t b; +#X obj 122 135 t l l; +#X obj 184 300 *; +#X obj 122 300 *; +#X obj 122 326 *; +#X obj 122 277 ==; +#X obj 153 277 ==; +#X obj 184 277 ==; +#X obj 215 277 ==; +#X obj 266 239 rmstodb; +#X obj 297 239 rmstodb; +#X obj 328 238 rmstodb; +#X obj 359 238 rmstodb; +#X msg 122 170 matrix 2 3 \$1 \$2 \$3 \$4 \$5 \$6; +#X obj 254 300 *; +#X obj 254 277 ==; +#X obj 285 277 ==; +#X obj 122 238 unpack 0 0 0 0 0 0; +#X msg 122 213 \$3 \$4 \$5 \$6 \$7 \$8; +#X obj 388 238 rmstodb; +#X obj 419 238 rmstodb; +#X obj 266 218 unpack 0 0 0 0 0 0; +#X obj 122 347 *; +#X msg 122 110 3 -1 10.5 0.05 0 12; +#X connect 0 0 4 0; +#X connect 2 0 22 0; +#X connect 4 0 27 0; +#X connect 5 0 17 0; +#X connect 5 1 25 0; +#X connect 6 0 8 1; +#X connect 7 0 8 0; +#X connect 8 0 26 0; +#X connect 9 0 7 0; +#X connect 10 0 7 1; +#X connect 11 0 6 0; +#X connect 12 0 6 1; +#X connect 13 0 9 1; +#X connect 14 0 10 1; +#X connect 15 0 11 1; +#X connect 16 0 12 1; +#X connect 17 0 2 0; +#X connect 18 0 26 1; +#X connect 19 0 18 0; +#X connect 20 0 18 1; +#X connect 21 0 9 0; +#X connect 21 1 10 0; +#X connect 21 2 11 0; +#X connect 21 3 12 0; +#X connect 21 4 19 0; +#X connect 21 5 20 0; +#X connect 22 0 21 0; +#X connect 23 0 19 1; +#X connect 24 0 20 1; +#X connect 25 0 13 0; +#X connect 25 1 14 0; +#X connect 25 2 15 0; +#X connect 25 3 16 0; +#X connect 25 4 23 0; +#X connect 25 5 24 0; +#X connect 26 0 1 0; +#X connect 27 0 5 0; diff --git a/tests/mtx_sin/01_function.pd b/tests/mtx_sin/01_function.pd new file mode 100644 index 0000000..5744a2b --- /dev/null +++ b/tests/mtx_sin/01_function.pd @@ -0,0 +1,21 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 211 mtx_sin; +#X msg 122 233 \$3; +#X obj 122 101 t b; +#X obj 122 151 t f f; +#X msg 122 190 matrix 1 1 \$1; +#X obj 165 232 sin; +#X obj 122 265 ==; +#X msg 122 127 -2; +#X connect 0 0 4 0; +#X connect 2 0 3 0; +#X connect 3 0 8 0; +#X connect 4 0 9 0; +#X connect 5 0 6 0; +#X connect 5 1 7 0; +#X connect 6 0 2 0; +#X connect 7 0 8 1; +#X connect 8 0 1 0; +#X connect 9 0 5 0; diff --git a/tests/mtx_sin/02_function.pd b/tests/mtx_sin/02_function.pd new file mode 100644 index 0000000..49a77d1 --- /dev/null +++ b/tests/mtx_sin/02_function.pd @@ -0,0 +1,50 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 191 mtx_sin; +#X text 67 37 test for existance of [mtx_sin]; +#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 135 t l l; +#X msg 122 213 \$3 \$4 \$5 \$6; +#X obj 122 238 unpack 0 0 0 0; +#X obj 184 300 *; +#X obj 122 300 *; +#X obj 122 326 *; +#X obj 236 218 unpack 0 0 0 0; +#X obj 122 277 ==; +#X obj 153 277 ==; +#X obj 184 277 ==; +#X obj 215 277 ==; +#X obj 236 239 sin; +#X obj 267 239 sin; +#X obj 298 238 sin; +#X obj 329 238 sin; +#X connect 0 0 5 0; +#X connect 2 0 8 0; +#X connect 4 0 2 0; +#X connect 5 0 6 0; +#X connect 6 0 7 0; +#X connect 7 0 4 0; +#X connect 7 1 13 0; +#X connect 8 0 9 0; +#X connect 9 0 14 0; +#X connect 9 1 15 0; +#X connect 9 2 16 0; +#X connect 9 3 17 0; +#X connect 10 0 12 1; +#X connect 11 0 12 0; +#X connect 12 0 1 0; +#X connect 13 0 18 0; +#X connect 13 1 19 0; +#X connect 13 2 20 0; +#X connect 13 3 21 0; +#X connect 14 0 11 0; +#X connect 15 0 11 1; +#X connect 16 0 10 0; +#X connect 17 0 10 1; +#X connect 18 0 14 1; +#X connect 19 0 15 1; +#X connect 20 0 16 1; +#X connect 21 0 17 1; diff --git a/tests/mtx_sin/03_function.pd b/tests/mtx_sin/03_function.pd new file mode 100644 index 0000000..9787345 --- /dev/null +++ b/tests/mtx_sin/03_function.pd @@ -0,0 +1,66 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 191 mtx_sin; +#X text 67 37 test for existance of [mtx_sin]; +#X obj 122 89 t b; +#X obj 122 135 t l l; +#X obj 184 300 *; +#X obj 122 300 *; +#X obj 122 326 *; +#X obj 122 277 ==; +#X obj 153 277 ==; +#X obj 184 277 ==; +#X obj 215 277 ==; +#X obj 266 239 sin; +#X obj 297 239 sin; +#X obj 328 238 sin; +#X obj 359 238 sin; +#X msg 122 170 matrix 2 3 \$1 \$2 \$3 \$4 \$5 \$6; +#X obj 254 300 *; +#X obj 254 277 ==; +#X obj 285 277 ==; +#X obj 122 238 unpack 0 0 0 0 0 0; +#X msg 122 213 \$3 \$4 \$5 \$6 \$7 \$8; +#X obj 388 238 sin; +#X obj 419 238 sin; +#X obj 266 218 unpack 0 0 0 0 0 0; +#X obj 122 347 *; +#X msg 122 110 3 -1 10.5 0.05 0 12; +#X connect 0 0 4 0; +#X connect 2 0 22 0; +#X connect 4 0 27 0; +#X connect 5 0 17 0; +#X connect 5 1 25 0; +#X connect 6 0 8 1; +#X connect 7 0 8 0; +#X connect 8 0 26 0; +#X connect 9 0 7 0; +#X connect 10 0 7 1; +#X connect 11 0 6 0; +#X connect 12 0 6 1; +#X connect 13 0 9 1; +#X connect 14 0 10 1; +#X connect 15 0 11 1; +#X connect 16 0 12 1; +#X connect 17 0 2 0; +#X connect 18 0 26 1; +#X connect 19 0 18 0; +#X connect 20 0 18 1; +#X connect 21 0 9 0; +#X connect 21 1 10 0; +#X connect 21 2 11 0; +#X connect 21 3 12 0; +#X connect 21 4 19 0; +#X connect 21 5 20 0; +#X connect 22 0 21 0; +#X connect 23 0 19 1; +#X connect 24 0 20 1; +#X connect 25 0 13 0; +#X connect 25 1 14 0; +#X connect 25 2 15 0; +#X connect 25 3 16 0; +#X connect 25 4 23 0; +#X connect 25 5 24 0; +#X connect 26 0 1 0; +#X connect 27 0 5 0; diff --git a/tests/mtx_size/01_function.pd b/tests/mtx_size/01_function.pd new file mode 100644 index 0000000..81baa4a --- /dev/null +++ b/tests/mtx_size/01_function.pd @@ -0,0 +1,25 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 335 outlet 1==OK; +#X obj 122 211 mtx_size; +#X obj 122 90 t b; +#X msg 122 132 1 8; +#X obj 122 161 t l l; +#X msg 122 190 matrix \$1 \$2 -2; +#X obj 204 211 unpack; +#X obj 122 259 ==; +#X obj 173 259 ==; +#X obj 122 297 *; +#X connect 0 0 3 0; +#X connect 2 0 8 0; +#X connect 2 1 9 0; +#X connect 3 0 4 0; +#X connect 4 0 5 0; +#X connect 5 0 6 0; +#X connect 5 1 7 0; +#X connect 6 0 2 0; +#X connect 7 0 8 1; +#X connect 7 1 9 1; +#X connect 8 0 10 0; +#X connect 9 0 10 1; +#X connect 10 0 1 0; diff --git a/tests/runtests.txt b/tests/runtests.txt index 195a4f1..c96f048 100644 --- a/tests/runtests.txt +++ b/tests/runtests.txt @@ -1,6 +1,7 @@ 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/01_function; @@ -76,8 +77,14 @@ mtx_colon/00_exist1; mtx_concat/00_exist; mtx_conv/00_exist; mtx_cos/00_exist; +mtx_cos/01_function; +mtx_cos/02_function; +mtx_cos/03_function; mtx_cumsum/00_exist; mtx_dbtorms/00_exist; +mtx_dbtorms/01_function; +mtx_dbtorms/02_function; +mtx_dbtorms/03_function; mtx_decay/00_exist; mtx_diag/00_exist; mtx_diegg/00_exist; @@ -103,6 +110,9 @@ mtx_eq/08_function; mtx_eq/09_function; mtx_eq/10_function; mtx_exp/00_exist; +mtx_exp/01_function; +mtx_exp/02_function; +mtx_exp/03_function; mtx_eye/00_exist; mtx_eye/01_function; mtx_eye/02_function; @@ -137,6 +147,9 @@ mtx_gt/09_function; mtx_gt/10_function; mtx_index/00_exist; mtx_int/00_exist; +mtx_int/01_function; +mtx_int/02_function; +mtx_int/03_function; mtx_inverse/00_exist; mtx_le/00_exist; mtx_le/01_function; @@ -150,6 +163,10 @@ mtx_le/08_function; mtx_le/09_function; mtx_le/10_function; mtx_log/00_exist; +mtx_log/01_function; +mtx_log/02_function; +mtx_log/03_function; +mtx_log/04_function; mtx_lt/00_exist; mtx_lt/01_function; mtx_lt/02_function; @@ -208,13 +225,20 @@ mtx_repmat/00_exist; mtx_resize/00_exist; mtx_reverse/00_exist; mtx_rmstodb/00_exist; +mtx_rmstodb/01_function; +mtx_rmstodb/02_function; +mtx_rmstodb/03_function; mtx_roll/00_exist; mtx_row/00_exist; mtx_rowrfft/00_exist; mtx_rowrifft/00_exist; mtx_scroll/00_exist; mtx_sin/00_exist; +mtx_sin/01_function; +mtx_sin/02_function; +mtx_sin/03_function; mtx_size/00_exist; +mtx_size/01_function; mtx_slice/00_exist; mtx_sort/00_exist; mtx_spivot/00_exist; |