aboutsummaryrefslogtreecommitdiff
path: root/tests/mtx_add
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-10-17 16:39:36 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-10-17 16:39:36 +0000
commitd84044c41cb7f786cb7fad1b8a0d4c025e10f435 (patch)
treed0d59354ad0ed898aa5947dce7f96164dbabeee7 /tests/mtx_add
parentd717c6983594f6544b5c9fb79acf1f54577b417f (diff)
renamed tests to have an index (good if we want a certain order of tests)
svn path=/trunk/externals/iem/iemmatrix/; revision=3723
Diffstat (limited to 'tests/mtx_add')
-rw-r--r--tests/mtx_add/00_exist.pd (renamed from tests/mtx_add/exist.pd)0
-rw-r--r--tests/mtx_add/00_exist1.pd (renamed from tests/mtx_add/exist1.pd)0
-rw-r--r--tests/mtx_add/01_function.pd15
-rw-r--r--tests/mtx_add/01_function1.pd32
-rw-r--r--tests/mtx_add/02_function.pd34
5 files changed, 81 insertions, 0 deletions
diff --git a/tests/mtx_add/exist.pd b/tests/mtx_add/00_exist.pd
index 36826f3..36826f3 100644
--- a/tests/mtx_add/exist.pd
+++ b/tests/mtx_add/00_exist.pd
diff --git a/tests/mtx_add/exist1.pd b/tests/mtx_add/00_exist1.pd
index d28a516..d28a516 100644
--- a/tests/mtx_add/exist1.pd
+++ b/tests/mtx_add/00_exist1.pd
diff --git a/tests/mtx_add/01_function.pd b/tests/mtx_add/01_function.pd
new file mode 100644
index 0000000..67c4987
--- /dev/null
+++ b/tests/mtx_add/01_function.pd
@@ -0,0 +1,15 @@
+#N canvas 385 142 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_add];
+#X obj 122 98 t b;
+#X msg 122 172 matrix 1 1 1;
+#X obj 122 221 mtx_add 3;
+#X obj 122 286 == 4;
+#X msg 122 252 \$3;
+#X connect 0 0 3 0;
+#X connect 3 0 4 0;
+#X connect 4 0 5 0;
+#X connect 5 0 7 0;
+#X connect 6 0 1 0;
+#X connect 7 0 6 0;
diff --git a/tests/mtx_add/01_function1.pd b/tests/mtx_add/01_function1.pd
new file mode 100644
index 0000000..b068fc5
--- /dev/null
+++ b/tests/mtx_add/01_function1.pd
@@ -0,0 +1,32 @@
+#N canvas 385 142 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_add];
+#X obj 122 98 t b;
+#X msg 122 172 matrix 2 2 0 1 2 3;
+#X obj 122 221 mtx_+ 3;
+#X msg 122 243 \$3 \$4 \$5 \$6;
+#X obj 122 268 unpack 0 0 0 0;
+#X obj 122 307 == 3;
+#X obj 153 307 == 4;
+#X obj 184 307 == 5;
+#X obj 215 307 == 6;
+#X obj 184 330 *;
+#X obj 122 330 *;
+#X obj 122 356 *;
+#X connect 0 0 3 0;
+#X connect 3 0 4 0;
+#X connect 4 0 5 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 7 0 8 0;
+#X connect 7 1 9 0;
+#X connect 7 2 10 0;
+#X connect 7 3 11 0;
+#X connect 8 0 13 0;
+#X connect 9 0 13 1;
+#X connect 10 0 12 0;
+#X connect 11 0 12 1;
+#X connect 12 0 14 1;
+#X connect 13 0 14 0;
+#X connect 14 0 1 0;
diff --git a/tests/mtx_add/02_function.pd b/tests/mtx_add/02_function.pd
new file mode 100644
index 0000000..c294196
--- /dev/null
+++ b/tests/mtx_add/02_function.pd
@@ -0,0 +1,34 @@
+#N canvas 385 142 508 466 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X msg 122 142 matrix 2 2 0 1 2 3;
+#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 98 t b b;
+#X obj 122 221 mtx_+;
+#X msg 152 162 matrix 2 2 -2 -1 -2 0.3;
+#X obj 122 307 == -2;
+#X obj 153 307 == 0;
+#X obj 184 307 == 0;
+#X obj 215 307 == 3.3;
+#X connect 0 0 8 0;
+#X connect 2 0 9 0;
+#X connect 3 0 4 0;
+#X connect 4 0 11 0;
+#X connect 4 1 12 0;
+#X connect 4 2 13 0;
+#X connect 4 3 14 0;
+#X connect 5 0 7 1;
+#X connect 6 0 7 0;
+#X connect 7 0 1 0;
+#X connect 8 0 2 0;
+#X connect 8 1 10 0;
+#X connect 9 0 3 0;
+#X connect 10 0 9 1;
+#X connect 11 0 6 0;
+#X connect 12 0 6 1;
+#X connect 13 0 5 0;
+#X connect 14 0 5 1;