aboutsummaryrefslogtreecommitdiff
path: root/tests/mtx_gt
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-10-18 09:16:08 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-10-18 09:16:08 +0000
commit294843ad8b2efa314b2d6e719b87fecd036c73f4 (patch)
tree7ad234a409565a07259d619888fbb8c4106bf662 /tests/mtx_gt
parentfa57635cfe1bc5b213bd50f2b7ded227f79b28a9 (diff)
test for generic binops
svn path=/trunk/externals/iem/iemmatrix/; revision=3728
Diffstat (limited to 'tests/mtx_gt')
-rw-r--r--tests/mtx_gt/01_function.pd49
-rw-r--r--tests/mtx_gt/02_function.pd62
-rw-r--r--tests/mtx_gt/03_function.pd49
-rw-r--r--tests/mtx_gt/04_function.pd60
-rw-r--r--tests/mtx_gt/05_function.pd17
-rw-r--r--tests/mtx_gt/06_function.pd60
-rw-r--r--tests/mtx_gt/07_function.pd23
-rw-r--r--tests/mtx_gt/08_function.pd60
-rw-r--r--tests/mtx_gt/09_function.pd62
-rw-r--r--tests/mtx_gt/10_function.pd62
10 files changed, 504 insertions, 0 deletions
diff --git a/tests/mtx_gt/01_function.pd b/tests/mtx_gt/01_function.pd
new file mode 100644
index 0000000..c29affb
--- /dev/null
+++ b/tests/mtx_gt/01_function.pd
@@ -0,0 +1,49 @@
+#N canvas 117 373 440 427 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X msg 122 243 \$3 \$4 \$5 \$6;
+#X obj 122 268 unpack 0 0 0 0;
+#X obj 184 330 *;
+#X obj 122 330 *;
+#X obj 122 356 *;
+#X obj 236 200 unpack 0 0 0 0;
+#X obj 122 307 ==;
+#X obj 153 307 ==;
+#X obj 184 307 ==;
+#X obj 215 307 ==;
+#X msg 122 179 matrix 2 2 \$1 \$2 \$3 \$4;
+#X obj 122 156 t l l;
+#X obj 122 98 t b;
+#X obj 122 221 mtx_gt 2;
+#X obj 236 221 > 2;
+#X obj 277 221 > 2;
+#X obj 318 220 > 2;
+#X obj 359 220 > 2;
+#X msg 122 132 2 5 -1.1 4;
+#X connect 0 0 14 0;
+#X connect 2 0 3 0;
+#X connect 3 0 8 0;
+#X connect 3 1 9 0;
+#X connect 3 2 10 0;
+#X connect 3 3 11 0;
+#X connect 4 0 6 1;
+#X connect 5 0 6 0;
+#X connect 6 0 1 0;
+#X connect 7 0 16 0;
+#X connect 7 1 17 0;
+#X connect 7 2 18 0;
+#X connect 7 3 19 0;
+#X connect 8 0 5 0;
+#X connect 9 0 5 1;
+#X connect 10 0 4 0;
+#X connect 11 0 4 1;
+#X connect 12 0 15 0;
+#X connect 13 0 12 0;
+#X connect 13 1 7 0;
+#X connect 14 0 20 0;
+#X connect 15 0 2 0;
+#X connect 16 0 8 1;
+#X connect 17 0 9 1;
+#X connect 18 0 10 1;
+#X connect 19 0 11 1;
+#X connect 20 0 13 0;
diff --git a/tests/mtx_gt/02_function.pd b/tests/mtx_gt/02_function.pd
new file mode 100644
index 0000000..cb2e20f
--- /dev/null
+++ b/tests/mtx_gt/02_function.pd
@@ -0,0 +1,62 @@
+#N canvas 176 399 508 466 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X msg 122 243 \$3 \$4 \$5 \$6;
+#X obj 122 268 unpack 0 0 0 0;
+#X obj 184 330 *;
+#X obj 122 330 *;
+#X obj 122 356 *;
+#X obj 236 248 unpack 0 0 0 0;
+#X obj 122 307 ==;
+#X obj 153 307 ==;
+#X obj 184 307 ==;
+#X obj 215 307 ==;
+#X msg 166 200 matrix 2 2 \$1 \$2 \$3 \$4;
+#X msg 122 179 matrix 2 2 \$1 \$2 \$3 \$4;
+#X obj 252 228 unpack 0 0 0 0;
+#X obj 122 98 t b b;
+#X obj 185 156 t l l;
+#X obj 122 156 t l l;
+#X obj 122 221 mtx_gt;
+#X obj 236 269 >;
+#X obj 267 269 >;
+#X obj 298 268 >;
+#X obj 329 268 >;
+#X msg 122 132 1 2 3 4;
+#X msg 185 133 9 8 7 6;
+#X connect 0 0 15 0;
+#X connect 2 0 3 0;
+#X connect 3 0 8 0;
+#X connect 3 1 9 0;
+#X connect 3 2 10 0;
+#X connect 3 3 11 0;
+#X connect 4 0 6 1;
+#X connect 5 0 6 0;
+#X connect 6 0 1 0;
+#X connect 7 0 19 0;
+#X connect 7 1 20 0;
+#X connect 7 2 21 0;
+#X connect 7 3 22 0;
+#X connect 8 0 5 0;
+#X connect 9 0 5 1;
+#X connect 10 0 4 0;
+#X connect 11 0 4 1;
+#X connect 12 0 18 1;
+#X connect 13 0 18 0;
+#X connect 14 0 19 1;
+#X connect 14 1 20 1;
+#X connect 14 2 21 1;
+#X connect 14 3 22 1;
+#X connect 15 0 23 0;
+#X connect 15 1 24 0;
+#X connect 16 0 12 0;
+#X connect 16 1 14 0;
+#X connect 17 0 13 0;
+#X connect 17 1 7 0;
+#X connect 18 0 2 0;
+#X connect 19 0 8 1;
+#X connect 20 0 9 1;
+#X connect 21 0 10 1;
+#X connect 22 0 11 1;
+#X connect 23 0 17 0;
+#X connect 24 0 16 0;
diff --git a/tests/mtx_gt/03_function.pd b/tests/mtx_gt/03_function.pd
new file mode 100644
index 0000000..460b065
--- /dev/null
+++ b/tests/mtx_gt/03_function.pd
@@ -0,0 +1,49 @@
+#N canvas 144 215 431 450 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X msg 122 243 \$3 \$4 \$5 \$6;
+#X obj 122 268 unpack 0 0 0 0;
+#X obj 184 330 *;
+#X obj 122 330 *;
+#X obj 122 356 *;
+#X obj 256 200 unpack 0 0 0 0;
+#X obj 122 307 ==;
+#X obj 153 307 ==;
+#X obj 184 307 ==;
+#X obj 215 307 ==;
+#X msg 122 179 matrix 2 2 \$1 \$2 \$3 \$4;
+#X obj 122 156 t l l;
+#X obj 122 98 t b;
+#X msg 122 132 3 2 1 0;
+#X obj 122 221 mtx_gt 1;
+#X obj 256 221 > 1;
+#X obj 297 221 > 1;
+#X obj 338 220 > 1;
+#X obj 379 220 > 1;
+#X connect 0 0 14 0;
+#X connect 2 0 3 0;
+#X connect 3 0 8 0;
+#X connect 3 1 9 0;
+#X connect 3 2 10 0;
+#X connect 3 3 11 0;
+#X connect 4 0 6 1;
+#X connect 5 0 6 0;
+#X connect 6 0 1 0;
+#X connect 7 0 17 0;
+#X connect 7 1 18 0;
+#X connect 7 2 19 0;
+#X connect 7 3 20 0;
+#X connect 8 0 5 0;
+#X connect 9 0 5 1;
+#X connect 10 0 4 0;
+#X connect 11 0 4 1;
+#X connect 12 0 16 0;
+#X connect 13 0 12 0;
+#X connect 13 1 7 0;
+#X connect 14 0 15 0;
+#X connect 15 0 13 0;
+#X connect 16 0 2 0;
+#X connect 17 0 8 1;
+#X connect 18 0 9 1;
+#X connect 19 0 10 1;
+#X connect 20 0 11 1;
diff --git a/tests/mtx_gt/04_function.pd b/tests/mtx_gt/04_function.pd
new file mode 100644
index 0000000..fce6298
--- /dev/null
+++ b/tests/mtx_gt/04_function.pd
@@ -0,0 +1,60 @@
+#N canvas 190 400 412 429 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X msg 122 243 \$3 \$4 \$5 \$6;
+#X obj 122 268 unpack 0 0 0 0;
+#X obj 184 330 *;
+#X obj 122 330 *;
+#X obj 122 356 *;
+#X obj 122 307 ==;
+#X obj 153 307 ==;
+#X obj 184 307 ==;
+#X obj 215 307 ==;
+#X msg 185 190 matrix 2 2 \$1 \$2 \$3 \$4;
+#X obj 252 228 unpack 0 0 0 0;
+#X obj 122 98 t b b;
+#X obj 185 156 t l l;
+#X obj 122 221 mtx_gt;
+#X obj 236 269 >;
+#X obj 267 269 >;
+#X obj 298 268 >;
+#X obj 329 268 >;
+#X obj 122 156 t f f;
+#X obj 236 248 t f f f f;
+#X msg 122 132 5;
+#X msg 185 133 1 2 4 8;
+#X connect 0 0 13 0;
+#X connect 2 0 3 0;
+#X connect 3 0 7 0;
+#X connect 3 1 8 0;
+#X connect 3 2 9 0;
+#X connect 3 3 10 0;
+#X connect 4 0 6 1;
+#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 4 0;
+#X connect 10 0 4 1;
+#X connect 11 0 15 1;
+#X connect 12 0 16 1;
+#X connect 12 1 17 1;
+#X connect 12 2 18 1;
+#X connect 12 3 19 1;
+#X connect 13 0 22 0;
+#X connect 13 1 23 0;
+#X connect 14 0 11 0;
+#X connect 14 1 12 0;
+#X connect 15 0 2 0;
+#X connect 16 0 7 1;
+#X connect 17 0 8 1;
+#X connect 18 0 9 1;
+#X connect 19 0 10 1;
+#X connect 20 0 15 0;
+#X connect 20 1 21 0;
+#X connect 21 0 16 0;
+#X connect 21 1 17 0;
+#X connect 21 2 18 0;
+#X connect 21 3 19 0;
+#X connect 22 0 20 0;
+#X connect 23 0 14 0;
diff --git a/tests/mtx_gt/05_function.pd b/tests/mtx_gt/05_function.pd
new file mode 100644
index 0000000..5b73e18
--- /dev/null
+++ b/tests/mtx_gt/05_function.pd
@@ -0,0 +1,17 @@
+#N canvas 55 354 508 466 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X obj 122 307 ==;
+#X obj 122 98 t b;
+#X obj 122 174 t f f;
+#X msg 122 132 11;
+#X obj 122 221 mtx_gt 7;
+#X obj 207 221 > 7;
+#X connect 0 0 3 0;
+#X connect 2 0 1 0;
+#X connect 3 0 5 0;
+#X connect 4 0 6 0;
+#X connect 4 1 7 0;
+#X connect 5 0 4 0;
+#X connect 6 0 2 0;
+#X connect 7 0 2 1;
diff --git a/tests/mtx_gt/06_function.pd b/tests/mtx_gt/06_function.pd
new file mode 100644
index 0000000..73a9da2
--- /dev/null
+++ b/tests/mtx_gt/06_function.pd
@@ -0,0 +1,60 @@
+#N canvas 282 295 386 465 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X msg 122 243 \$3 \$4 \$5 \$6;
+#X obj 122 268 unpack 0 0 0 0;
+#X obj 184 330 *;
+#X obj 122 330 *;
+#X obj 122 356 *;
+#X obj 236 248 unpack 0 0 0 0;
+#X obj 122 307 ==;
+#X obj 153 307 ==;
+#X obj 184 307 ==;
+#X obj 215 307 ==;
+#X msg 122 179 matrix 2 2 \$1 \$2 \$3 \$4;
+#X obj 122 98 t b b;
+#X obj 122 156 t l l;
+#X obj 236 269 >;
+#X obj 267 269 >;
+#X obj 298 268 >;
+#X obj 329 268 >;
+#X obj 252 228 t f f f f;
+#X obj 185 156 t f f;
+#X obj 122 221 mtx_gt 0;
+#X msg 122 132 0 2 3 5;
+#X msg 185 133 17;
+#X connect 0 0 13 0;
+#X connect 2 0 3 0;
+#X connect 3 0 8 0;
+#X connect 3 1 9 0;
+#X connect 3 2 10 0;
+#X connect 3 3 11 0;
+#X connect 4 0 6 1;
+#X connect 5 0 6 0;
+#X connect 6 0 1 0;
+#X connect 7 0 15 0;
+#X connect 7 1 16 0;
+#X connect 7 2 17 0;
+#X connect 7 3 18 0;
+#X connect 8 0 5 0;
+#X connect 9 0 5 1;
+#X connect 10 0 4 0;
+#X connect 11 0 4 1;
+#X connect 12 0 21 0;
+#X connect 13 0 22 0;
+#X connect 13 1 23 0;
+#X connect 14 0 12 0;
+#X connect 14 1 7 0;
+#X connect 15 0 8 1;
+#X connect 16 0 9 1;
+#X connect 17 0 10 1;
+#X connect 18 0 11 1;
+#X connect 19 0 15 1;
+#X connect 19 1 16 1;
+#X connect 19 2 17 1;
+#X connect 19 3 18 1;
+#X connect 20 0 21 1;
+#X connect 20 1 19 0;
+#X connect 21 0 2 0;
+#X connect 22 0 14 0;
+#X connect 23 0 20 0;
diff --git a/tests/mtx_gt/07_function.pd b/tests/mtx_gt/07_function.pd
new file mode 100644
index 0000000..aac3a88
--- /dev/null
+++ b/tests/mtx_gt/07_function.pd
@@ -0,0 +1,23 @@
+#N canvas 270 180 508 466 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X msg 213 71 bang;
+#X obj 122 98 t b b;
+#X obj 122 175 t f f;
+#X obj 122 307 ==;
+#X obj 122 251 mtx_gt 0;
+#X obj 239 251 >;
+#X msg 122 132 6;
+#X msg 152 131 9;
+#X connect 0 0 3 0;
+#X connect 2 0 3 0;
+#X connect 3 0 8 0;
+#X connect 3 1 9 0;
+#X connect 4 0 6 0;
+#X connect 4 1 7 0;
+#X connect 5 0 1 0;
+#X connect 6 0 5 0;
+#X connect 7 0 5 1;
+#X connect 8 0 4 0;
+#X connect 9 0 6 1;
+#X connect 9 0 7 1;
diff --git a/tests/mtx_gt/08_function.pd b/tests/mtx_gt/08_function.pd
new file mode 100644
index 0000000..a931b5c
--- /dev/null
+++ b/tests/mtx_gt/08_function.pd
@@ -0,0 +1,60 @@
+#N canvas 277 252 796 483 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X msg 122 243 \$3 \$4 \$5 \$6;
+#X obj 122 268 unpack 0 0 0 0;
+#X obj 184 330 *;
+#X obj 122 330 *;
+#X obj 122 356 *;
+#X obj 236 248 unpack 0 0 0 0;
+#X obj 122 307 ==;
+#X obj 153 307 ==;
+#X obj 184 307 ==;
+#X obj 215 307 ==;
+#X msg 122 179 matrix 2 2 \$1 \$2 \$3 \$4;
+#X obj 122 98 t b b;
+#X obj 122 156 t l l;
+#X obj 236 269 >;
+#X obj 267 269 >;
+#X obj 298 268 >;
+#X obj 329 268 >;
+#X obj 252 228 t f f f f;
+#X obj 185 156 t f f;
+#X obj 122 221 mtx_gt 0;
+#X msg 122 132 4 3 7 6;
+#X msg 185 133 123;
+#X connect 0 0 13 0;
+#X connect 2 0 3 0;
+#X connect 3 0 8 0;
+#X connect 3 1 9 0;
+#X connect 3 2 10 0;
+#X connect 3 3 11 0;
+#X connect 4 0 6 1;
+#X connect 5 0 6 0;
+#X connect 6 0 1 0;
+#X connect 7 0 15 0;
+#X connect 7 1 16 0;
+#X connect 7 2 17 0;
+#X connect 7 3 18 0;
+#X connect 8 0 5 0;
+#X connect 9 0 5 1;
+#X connect 10 0 4 0;
+#X connect 11 0 4 1;
+#X connect 12 0 21 0;
+#X connect 13 0 22 0;
+#X connect 13 1 23 0;
+#X connect 14 0 12 0;
+#X connect 14 1 7 0;
+#X connect 15 0 8 1;
+#X connect 16 0 9 1;
+#X connect 17 0 10 1;
+#X connect 18 0 11 1;
+#X connect 19 0 15 1;
+#X connect 19 1 16 1;
+#X connect 19 2 17 1;
+#X connect 19 3 18 1;
+#X connect 20 0 21 1;
+#X connect 20 1 19 0;
+#X connect 21 0 2 0;
+#X connect 22 0 14 0;
+#X connect 23 0 20 0;
diff --git a/tests/mtx_gt/09_function.pd b/tests/mtx_gt/09_function.pd
new file mode 100644
index 0000000..5c98db2
--- /dev/null
+++ b/tests/mtx_gt/09_function.pd
@@ -0,0 +1,62 @@
+#N canvas 311 295 379 440 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X msg 122 243 \$3 \$4 \$5 \$6;
+#X obj 122 268 unpack 0 0 0 0;
+#X obj 184 330 *;
+#X obj 122 330 *;
+#X obj 122 356 *;
+#X obj 236 248 unpack 0 0 0 0;
+#X obj 122 307 ==;
+#X obj 153 307 ==;
+#X obj 184 307 ==;
+#X obj 215 307 ==;
+#X msg 122 179 matrix 2 2 \$1 \$2 \$3 \$4;
+#X obj 122 98 t b b;
+#X obj 185 156 t l l;
+#X obj 122 156 t l l;
+#X obj 122 221 mtx_gt;
+#X obj 236 269 >;
+#X obj 267 269 >;
+#X obj 298 268 >;
+#X obj 329 268 >;
+#X msg 186 200 matrix 1 2 \$1 \$2;
+#X obj 252 228 unpack 0 0;
+#X msg 122 132 10 9 -1 3;
+#X msg 185 133 7 34;
+#X connect 0 0 13 0;
+#X connect 2 0 3 0;
+#X connect 3 0 8 0;
+#X connect 3 1 9 0;
+#X connect 3 2 10 0;
+#X connect 3 3 11 0;
+#X connect 4 0 6 1;
+#X connect 5 0 6 0;
+#X connect 6 0 1 0;
+#X connect 7 0 17 0;
+#X connect 7 1 18 0;
+#X connect 7 2 19 0;
+#X connect 7 3 20 0;
+#X connect 8 0 5 0;
+#X connect 9 0 5 1;
+#X connect 10 0 4 0;
+#X connect 11 0 4 1;
+#X connect 12 0 16 0;
+#X connect 13 0 23 0;
+#X connect 13 1 24 0;
+#X connect 14 0 21 0;
+#X connect 14 1 22 0;
+#X connect 15 0 12 0;
+#X connect 15 1 7 0;
+#X connect 16 0 2 0;
+#X connect 17 0 8 1;
+#X connect 18 0 9 1;
+#X connect 19 0 10 1;
+#X connect 20 0 11 1;
+#X connect 21 0 16 1;
+#X connect 22 0 17 1;
+#X connect 22 0 19 1;
+#X connect 22 1 18 1;
+#X connect 22 1 20 1;
+#X connect 23 0 15 0;
+#X connect 24 0 14 0;
diff --git a/tests/mtx_gt/10_function.pd b/tests/mtx_gt/10_function.pd
new file mode 100644
index 0000000..8dbb731
--- /dev/null
+++ b/tests/mtx_gt/10_function.pd
@@ -0,0 +1,62 @@
+#N canvas 182 266 409 472 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X msg 122 243 \$3 \$4 \$5 \$6;
+#X obj 122 268 unpack 0 0 0 0;
+#X obj 184 330 *;
+#X obj 122 330 *;
+#X obj 122 356 *;
+#X obj 236 248 unpack 0 0 0 0;
+#X obj 122 307 ==;
+#X obj 153 307 ==;
+#X obj 184 307 ==;
+#X obj 215 307 ==;
+#X msg 122 179 matrix 2 2 \$1 \$2 \$3 \$4;
+#X obj 122 98 t b b;
+#X obj 185 156 t l l;
+#X obj 122 156 t l l;
+#X obj 122 221 mtx_gt;
+#X obj 236 269 >;
+#X obj 267 269 >;
+#X obj 298 268 >;
+#X obj 329 268 >;
+#X msg 166 200 matrix 2 1 \$1 \$2;
+#X obj 252 226 unpack 0 0;
+#X msg 185 133 5 3;
+#X msg 122 132 4 2 9 8;
+#X connect 0 0 13 0;
+#X connect 2 0 3 0;
+#X connect 3 0 8 0;
+#X connect 3 1 9 0;
+#X connect 3 2 10 0;
+#X connect 3 3 11 0;
+#X connect 4 0 6 1;
+#X connect 5 0 6 0;
+#X connect 6 0 1 0;
+#X connect 7 0 17 0;
+#X connect 7 1 18 0;
+#X connect 7 2 19 0;
+#X connect 7 3 20 0;
+#X connect 8 0 5 0;
+#X connect 9 0 5 1;
+#X connect 10 0 4 0;
+#X connect 11 0 4 1;
+#X connect 12 0 16 0;
+#X connect 13 0 24 0;
+#X connect 13 1 23 0;
+#X connect 14 0 21 0;
+#X connect 14 1 22 0;
+#X connect 15 0 12 0;
+#X connect 15 1 7 0;
+#X connect 16 0 2 0;
+#X connect 17 0 8 1;
+#X connect 18 0 9 1;
+#X connect 19 0 10 1;
+#X connect 20 0 11 1;
+#X connect 21 0 16 1;
+#X connect 22 0 17 1;
+#X connect 22 0 18 1;
+#X connect 22 1 19 1;
+#X connect 22 1 20 1;
+#X connect 23 0 14 0;
+#X connect 24 0 15 0;