diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-10-17 20:10:16 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-10-17 20:10:16 +0000 |
commit | fa57635cfe1bc5b213bd50f2b7ded227f79b28a9 (patch) | |
tree | be68865a9169b056c03be9e94eaabbaeabadf7d5 /tests/mtx_bitand | |
parent | ff99518e60497a59342a53b153f951ccca8be1c5 (diff) |
added new function-tests
svn path=/trunk/externals/iem/iemmatrix/; revision=3727
Diffstat (limited to 'tests/mtx_bitand')
-rw-r--r-- | tests/mtx_bitand/01_function.pd | 29 | ||||
-rw-r--r-- | tests/mtx_bitand/02_function.pd | 34 | ||||
-rw-r--r-- | tests/mtx_bitand/03_function.pd | 34 |
3 files changed, 97 insertions, 0 deletions
diff --git a/tests/mtx_bitand/01_function.pd b/tests/mtx_bitand/01_function.pd new file mode 100644 index 0000000..0f5a9ac --- /dev/null +++ b/tests/mtx_bitand/01_function.pd @@ -0,0 +1,29 @@ +#N canvas 385 142 508 466 10; +#X obj 122 68 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 296 *; +#X obj 122 255 == 0; +#X obj 122 161 mtx_bitand 3; +#X msg 122 140 matrix 2 2 0 1 2 3; +#X obj 122 203 unpack 0 0 0 0; +#X msg 122 183 \$3 \$4 \$5 \$6; +#X obj 184 296 *; +#X obj 122 350 *; +#X obj 153 255 == 1; +#X obj 184 255 == 2; +#X obj 215 255 == 3; +#X connect 0 0 5 0; +#X connect 2 0 9 0; +#X connect 3 0 2 0; +#X connect 4 0 7 0; +#X connect 5 0 4 0; +#X connect 6 0 3 0; +#X connect 6 1 10 0; +#X connect 6 2 11 0; +#X connect 6 3 12 0; +#X connect 7 0 6 0; +#X connect 8 0 9 1; +#X connect 9 0 1 0; +#X connect 10 0 2 1; +#X connect 11 0 8 0; +#X connect 12 0 8 1; diff --git a/tests/mtx_bitand/02_function.pd b/tests/mtx_bitand/02_function.pd new file mode 100644 index 0000000..d6975e0 --- /dev/null +++ b/tests/mtx_bitand/02_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 184 296 *; +#X obj 122 327 *; +#X obj 122 65 t b b; +#X obj 122 161 mtx_bitand; +#X msg 122 110 matrix 2 2 0 1 0 2; +#X obj 215 255 == 2; +#X msg 166 134 matrix 2 2 0 3 1 2; +#X obj 153 255 == 1; +#X connect 0 0 9 0; +#X connect 2 0 8 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 12 0; +#X connect 6 0 7 0; +#X connect 7 0 8 1; +#X connect 8 0 1 0; +#X connect 9 0 11 0; +#X connect 9 1 13 0; +#X connect 10 0 4 0; +#X connect 11 0 10 0; +#X connect 12 0 7 1; +#X connect 13 0 10 1; +#X connect 14 0 2 1; diff --git a/tests/mtx_bitand/03_function.pd b/tests/mtx_bitand/03_function.pd new file mode 100644 index 0000000..f5d8d6d --- /dev/null +++ b/tests/mtx_bitand/03_function.pd @@ -0,0 +1,34 @@ +#N canvas 124 348 508 466 10; +#X obj 122 37 inlet bang; +#X obj 122 385 outlet 1==OK; +#X obj 122 296 *; +#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 obj 153 255 == 0; +#X msg 166 134 matrix 2 2 19 4 0 -7; +#X msg 122 110 matrix 2 2 3 1 2 3; +#X obj 122 255 == 3; +#X connect 0 0 9 0; +#X connect 2 0 8 0; +#X connect 3 0 4 0; +#X connect 4 0 14 0; +#X connect 4 1 11 0; +#X connect 4 2 5 0; +#X connect 4 3 6 0; +#X connect 5 0 7 0; +#X connect 6 0 7 1; +#X connect 7 0 8 1; +#X connect 8 0 1 0; +#X connect 9 0 13 0; +#X connect 9 1 12 0; +#X connect 10 0 3 0; +#X connect 11 0 2 1; +#X connect 12 0 10 1; +#X connect 13 0 10 0; +#X connect 14 0 2 0; |