aboutsummaryrefslogtreecommitdiff
path: root/tests/mtx_zeros
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-10-19 07:32:07 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-10-19 07:32:07 +0000
commit25d28573c4d97db466449cf78442d3221354f55b (patch)
tree5e79108ff7dd3fec341f3f40a12cb3c5aee32f9f /tests/mtx_zeros
parentde49676f6530ccb237767037f93c85433c4e2f64 (diff)
tests for sources
svn path=/trunk/externals/iem/iemmatrix/; revision=3736
Diffstat (limited to 'tests/mtx_zeros')
-rw-r--r--tests/mtx_zeros/01_function.pd29
-rw-r--r--tests/mtx_zeros/02_function.pd39
-rw-r--r--tests/mtx_zeros/03_function.pd31
-rw-r--r--tests/mtx_zeros/04_function.pd41
4 files changed, 140 insertions, 0 deletions
diff --git a/tests/mtx_zeros/01_function.pd b/tests/mtx_zeros/01_function.pd
new file mode 100644
index 0000000..075e6d4
--- /dev/null
+++ b/tests/mtx_zeros/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 msg 122 214 \$3 \$4 \$5 \$6;
+#X obj 122 161 mtx_zeros 2;
+#X obj 122 238 unpack 0 0 0 0;
+#X obj 122 262 == 0;
+#X obj 162 262 == 0;
+#X obj 202 262 == 0;
+#X obj 242 262 == 0;
+#X obj 122 282 *;
+#X obj 122 302 *;
+#X obj 202 282 *;
+#X obj 122 104 t b;
+#X connect 0 0 12 0;
+#X connect 2 0 4 0;
+#X connect 3 0 2 0;
+#X connect 4 0 5 0;
+#X connect 4 1 6 0;
+#X connect 4 2 7 0;
+#X connect 4 3 8 0;
+#X connect 5 0 9 0;
+#X connect 6 0 9 1;
+#X connect 7 0 11 0;
+#X connect 8 0 11 1;
+#X connect 9 0 10 0;
+#X connect 10 0 1 0;
+#X connect 11 0 10 1;
+#X connect 12 0 3 0;
diff --git a/tests/mtx_zeros/02_function.pd b/tests/mtx_zeros/02_function.pd
new file mode 100644
index 0000000..56ee233
--- /dev/null
+++ b/tests/mtx_zeros/02_function.pd
@@ -0,0 +1,39 @@
+#N canvas 385 142 508 466 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X obj 122 262 == 0;
+#X obj 162 262 == 0;
+#X obj 202 262 == 0;
+#X obj 242 262 == 0;
+#X obj 122 282 *;
+#X obj 122 302 *;
+#X obj 202 282 *;
+#X obj 122 104 t b;
+#X obj 122 161 mtx_zeros 2 3;
+#X msg 122 214 \$3 \$4 \$5 \$6 \$7 \$8;
+#X obj 122 238 unpack 0 0 0 0 0 0;
+#X obj 282 262 == 0;
+#X obj 322 262 == 0;
+#X obj 282 282 *;
+#X obj 122 324 *;
+#X connect 0 0 9 0;
+#X connect 2 0 6 0;
+#X connect 3 0 6 1;
+#X connect 4 0 8 0;
+#X connect 5 0 8 1;
+#X connect 6 0 7 0;
+#X connect 7 0 16 0;
+#X connect 8 0 7 1;
+#X connect 9 0 10 0;
+#X connect 10 0 11 0;
+#X connect 11 0 12 0;
+#X connect 12 0 2 0;
+#X connect 12 1 3 0;
+#X connect 12 2 4 0;
+#X connect 12 3 5 0;
+#X connect 12 4 13 0;
+#X connect 12 5 14 0;
+#X connect 13 0 15 0;
+#X connect 14 0 15 1;
+#X connect 15 0 16 1;
+#X connect 16 0 1 0;
diff --git a/tests/mtx_zeros/03_function.pd b/tests/mtx_zeros/03_function.pd
new file mode 100644
index 0000000..b5958de
--- /dev/null
+++ b/tests/mtx_zeros/03_function.pd
@@ -0,0 +1,31 @@
+#N canvas 385 142 508 466 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X obj 122 262 == 0;
+#X obj 162 262 == 0;
+#X obj 202 262 == 0;
+#X obj 242 262 == 0;
+#X obj 122 282 *;
+#X obj 122 302 *;
+#X obj 202 282 *;
+#X obj 122 104 t b;
+#X obj 122 238 unpack 0 0 0 0 0 0;
+#X obj 122 161 mtx_zeros 7 8;
+#X msg 122 214 \$3 \$4 \$5 \$6;
+#X msg 122 135 2;
+#X connect 0 0 9 0;
+#X connect 2 0 6 0;
+#X connect 3 0 6 1;
+#X connect 4 0 8 0;
+#X connect 5 0 8 1;
+#X connect 6 0 7 0;
+#X connect 7 0 1 0;
+#X connect 8 0 7 1;
+#X connect 9 0 13 0;
+#X connect 10 0 2 0;
+#X connect 10 1 3 0;
+#X connect 10 2 4 0;
+#X connect 10 3 5 0;
+#X connect 11 0 12 0;
+#X connect 12 0 10 0;
+#X connect 13 0 11 0;
diff --git a/tests/mtx_zeros/04_function.pd b/tests/mtx_zeros/04_function.pd
new file mode 100644
index 0000000..26d16f8
--- /dev/null
+++ b/tests/mtx_zeros/04_function.pd
@@ -0,0 +1,41 @@
+#N canvas 385 142 508 466 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X obj 122 262 == 0;
+#X obj 162 262 == 0;
+#X obj 202 262 == 0;
+#X obj 242 262 == 0;
+#X obj 122 282 *;
+#X obj 122 302 *;
+#X obj 202 282 *;
+#X obj 122 104 t b;
+#X msg 122 214 \$3 \$4 \$5 \$6 \$7 \$8;
+#X obj 122 238 unpack 0 0 0 0 0 0;
+#X obj 282 262 == 0;
+#X obj 322 262 == 0;
+#X obj 282 282 *;
+#X obj 122 324 *;
+#X msg 122 135 3 2;
+#X obj 122 161 mtx_zeros;
+#X connect 0 0 9 0;
+#X connect 2 0 6 0;
+#X connect 3 0 6 1;
+#X connect 4 0 8 0;
+#X connect 5 0 8 1;
+#X connect 6 0 7 0;
+#X connect 7 0 15 0;
+#X connect 8 0 7 1;
+#X connect 9 0 16 0;
+#X connect 10 0 11 0;
+#X connect 11 0 2 0;
+#X connect 11 1 3 0;
+#X connect 11 2 4 0;
+#X connect 11 3 5 0;
+#X connect 11 4 12 0;
+#X connect 11 5 13 0;
+#X connect 12 0 14 0;
+#X connect 13 0 14 1;
+#X connect 14 0 15 1;
+#X connect 15 0 1 0;
+#X connect 16 0 17 0;
+#X connect 17 0 10 0;