aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/mtx_and/02_function.pd10
-rw-r--r--tests/mtx_and/03_function.pd12
-rw-r--r--tests/mtx_bitand/01_function.pd29
-rw-r--r--tests/mtx_bitand/02_function.pd34
-rw-r--r--tests/mtx_bitand/03_function.pd34
-rw-r--r--tests/mtx_bitor/01_function.pd29
-rw-r--r--tests/mtx_bitor/02_function.pd34
-rw-r--r--tests/mtx_bitor/03_function.pd34
-rw-r--r--tests/runtests.txt23
9 files changed, 220 insertions, 19 deletions
diff --git a/tests/mtx_and/02_function.pd b/tests/mtx_and/02_function.pd
index 1d8939c..545811a 100644
--- a/tests/mtx_and/02_function.pd
+++ b/tests/mtx_and/02_function.pd
@@ -12,13 +12,12 @@
#X obj 122 327 *;
#X obj 153 255 == 0;
#X obj 122 65 t b b;
-#X msg 211 65 bang;
#X obj 122 161 mtx_and;
#X msg 122 110 matrix 2 2 0 1 0 1;
#X connect 0 0 12 0;
#X connect 2 0 10 0;
#X connect 3 0 2 0;
-#X connect 4 0 14 1;
+#X connect 4 0 13 1;
#X connect 5 0 6 0;
#X connect 6 0 3 0;
#X connect 6 1 11 0;
@@ -29,8 +28,7 @@
#X connect 9 0 10 1;
#X connect 10 0 1 0;
#X connect 11 0 2 1;
-#X connect 12 0 15 0;
+#X connect 12 0 14 0;
#X connect 12 1 4 0;
-#X connect 13 0 12 0;
-#X connect 14 0 5 0;
-#X connect 15 0 14 0;
+#X connect 13 0 5 0;
+#X connect 14 0 13 0;
diff --git a/tests/mtx_and/03_function.pd b/tests/mtx_and/03_function.pd
index 825454a..908ab94 100644
--- a/tests/mtx_and/03_function.pd
+++ b/tests/mtx_and/03_function.pd
@@ -1,4 +1,4 @@
-#N canvas 413 323 508 466 10;
+#N canvas 124 348 508 466 10;
#X obj 122 37 inlet bang;
#X obj 122 385 outlet 1==OK;
#X obj 122 296 *;
@@ -12,14 +12,14 @@
#X obj 122 65 t b b;
#X obj 122 161 mtx_&&;
#X msg 122 110 matrix 2 2 0 1 2 3;
-#X msg 166 134 matrix 2 2 5 5 0 7;
#X obj 153 255 == 1;
+#X msg 166 134 matrix 2 2 17 4 0 -7;
#X connect 0 0 10 0;
#X connect 2 0 9 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 1 13 0;
#X connect 5 2 6 0;
#X connect 5 3 7 0;
#X connect 6 0 8 0;
@@ -27,8 +27,8 @@
#X connect 8 0 9 1;
#X connect 9 0 1 0;
#X connect 10 0 12 0;
-#X connect 10 1 13 0;
+#X connect 10 1 14 0;
#X connect 11 0 4 0;
#X connect 12 0 11 0;
-#X connect 13 0 11 1;
-#X connect 14 0 2 1;
+#X connect 13 0 2 1;
+#X connect 14 0 11 1;
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;
diff --git a/tests/mtx_bitor/01_function.pd b/tests/mtx_bitor/01_function.pd
new file mode 100644
index 0000000..97edbfb
--- /dev/null
+++ b/tests/mtx_bitor/01_function.pd
@@ -0,0 +1,29 @@
+#N canvas 430 -36 508 466 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X obj 122 296 *;
+#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 122 161 mtx_bitor 3;
+#X obj 122 255 == 3;
+#X obj 153 255 == 3;
+#X obj 184 255 == 3;
+#X msg 122 140 matrix 2 2 0 1 2 6;
+#X obj 215 255 == 7;
+#X connect 0 0 11 0;
+#X connect 2 0 6 0;
+#X connect 3 0 8 0;
+#X connect 3 1 9 0;
+#X connect 3 2 10 0;
+#X connect 3 3 12 0;
+#X connect 4 0 3 0;
+#X connect 5 0 6 1;
+#X connect 6 0 1 0;
+#X connect 7 0 4 0;
+#X connect 8 0 2 0;
+#X connect 9 0 2 1;
+#X connect 10 0 5 0;
+#X connect 11 0 7 0;
+#X connect 12 0 5 1;
diff --git a/tests/mtx_bitor/02_function.pd b/tests/mtx_bitor/02_function.pd
new file mode 100644
index 0000000..3420224
--- /dev/null
+++ b/tests/mtx_bitor/02_function.pd
@@ -0,0 +1,34 @@
+#N canvas 597 228 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 296 *;
+#X obj 122 327 *;
+#X obj 122 65 t b b;
+#X msg 122 110 matrix 2 2 0 1 0 2;
+#X obj 215 255 == 2;
+#X obj 122 161 mtx_bitor;
+#X obj 153 255 == 3;
+#X obj 184 255 == 1;
+#X msg 166 134 matrix 2 2 0 3 1 2;
+#X connect 0 0 8 0;
+#X connect 2 0 7 0;
+#X connect 3 0 2 0;
+#X connect 4 0 5 0;
+#X connect 5 0 3 0;
+#X connect 5 1 12 0;
+#X connect 5 2 13 0;
+#X connect 5 3 10 0;
+#X connect 6 0 7 1;
+#X connect 7 0 1 0;
+#X connect 8 0 9 0;
+#X connect 8 1 14 0;
+#X connect 9 0 11 0;
+#X connect 10 0 6 1;
+#X connect 11 0 4 0;
+#X connect 12 0 2 1;
+#X connect 13 0 6 0;
+#X connect 14 0 11 1;
diff --git a/tests/mtx_bitor/03_function.pd b/tests/mtx_bitor/03_function.pd
new file mode 100644
index 0000000..a4780c2
--- /dev/null
+++ b/tests/mtx_bitor/03_function.pd
@@ -0,0 +1,34 @@
+#N canvas -33 350 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 296 *;
+#X obj 122 327 *;
+#X obj 122 65 t b b;
+#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 161 mtx_|;
+#X obj 122 255 == 19;
+#X obj 153 255 == 5;
+#X obj 184 255 == 2;
+#X obj 215 255 == -5;
+#X connect 0 0 7 0;
+#X connect 2 0 6 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 6 1;
+#X connect 6 0 1 0;
+#X connect 7 0 9 0;
+#X connect 7 1 8 0;
+#X connect 8 0 10 1;
+#X connect 9 0 10 0;
+#X connect 10 0 3 0;
+#X connect 11 0 2 0;
+#X connect 12 0 2 1;
+#X connect 13 0 5 0;
+#X connect 14 0 5 1;
diff --git a/tests/runtests.txt b/tests/runtests.txt
index ec2af3c..6dd17a1 100644
--- a/tests/runtests.txt
+++ b/tests/runtests.txt
@@ -1,20 +1,29 @@
mtx_abs/00_exist;
mtx_abs/01_function;
-mtx_add/00_exist1;
mtx_add/00_exist;
-mtx_add/01_function1;
+mtx_add/00_exist1;
mtx_add/01_function;
+mtx_add/01_function1;
mtx_add/02_function;
mtx_and/00_exist;
+mtx_and/01_function;
+mtx_and/02_function;
+mtx_and/03_function;
mtx_bitand/00_exist;
+mtx_bitand/01_function;
+mtx_bitand/02_function;
+mtx_bitand/03_function;
mtx_bitleft/00_exist;
mtx_bitor/00_exist;
+mtx_bitor/01_function;
+mtx_bitor/02_function;
+mtx_bitor/03_function;
mtx_bitright/00_exist;
mtx_check/00_exist;
mtx_cholesky/00_exist;
mtx_col/00_exist;
-mtx_colon/00_exist1;
mtx_colon/00_exist;
+mtx_colon/00_exist1;
mtx_concat/00_exist;
mtx_conv/00_exist;
mtx_cos/00_exist;
@@ -42,17 +51,17 @@ mtx_le/00_exist;
mtx_log/00_exist;
mtx_lt/00_exist;
mtx_matcher/00_exist;
-mtx_matrix/00_exist1;
mtx_matrix/00_exist;
+mtx_matrix/00_exist1;
mtx_max2/00_exist;
mtx_mean/00_exist;
mtx_min2/00_exist;
+mtx_mul/00_exist;
mtx_mul/00_exist1;
mtx_mul/00_exist2;
-mtx_mul/00_exist;
mtx_neq/00_exist;
-mtx_not/00_exist1;
mtx_not/00_exist;
+mtx_not/00_exist1;
mtx_ones/00_exist;
mtx_or/00_exist;
mtx_pivot/00_exist;
@@ -72,8 +81,8 @@ mtx_size/00_exist;
mtx_slice/00_exist;
mtx_sort/00_exist;
mtx_spivot/00_exist;
-mtx_sub/00_exist1;
mtx_sub/00_exist;
+mtx_sub/00_exist1;
mtx_sum/00_exist;
mtx_symasym/00_exist;
mtx_trace/00_exist;