aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/testunit.pd36
1 files changed, 19 insertions, 17 deletions
diff --git a/tests/testunit.pd b/tests/testunit.pd
index 57b6dd7..bc723a7 100644
--- a/tests/testunit.pd
+++ b/tests/testunit.pd
@@ -1,11 +1,11 @@
-#N canvas 577 122 585 499 10;
-#N canvas 455 165 474 559 run-test 0;
+#N canvas 578 118 585 499 10;
+#N canvas 456 161 474 559 run-test 0;
#X obj 71 136 symbol;
#X obj 71 104 inlet test-to-run;
#X obj 71 514 outlet result;
#X obj 71 440 pack 0 s;
#X msg 113 136 bang;
-#N canvas 395 348 450 300 print 0;
+#N canvas 396 344 450 300 print 0;
#X obj 101 247 print regression-test;
#X obj 101 204 pack s s;
#X obj 101 117 select 1;
@@ -29,7 +29,6 @@
#X connect 9 1 1 1;
#X restore 96 491 pd print result;
#X obj 71 252 t f b;
-#X obj 71 164 t b s s;
#X text 99 217 start regression test;
#X text 105 251 regression test finished;
#N canvas 318 184 905 641 get 0;
@@ -88,7 +87,7 @@ test returns a result (potentially infinitely long)!;
#X text 77 33 pros: the test need not be finished in zero-time (good
for testing signal-objects or timed objects);
#X obj 71 470 t l l;
-#N canvas 0 0 625 330 create/destroy 0;
+#N canvas 4 49 625 330 create/destroy 0;
#X obj 148 53 inlet;
#X obj 449 48 inlet clear;
#X obj 148 129 pack s \$0;
@@ -120,25 +119,28 @@ for testing signal-objects or timed objects);
#X restore 141 186 pd restartaudio;
#X obj 71 214 t b;
#X obj 71 186 t b b;
-#X connect 0 0 7 0;
+#X obj 71 164 t b s s s;
+#X obj 142 165 print starting;
+#X connect 0 0 18 0;
#X connect 1 0 0 0;
-#X connect 3 0 14 0;
+#X connect 3 0 13 0;
#X connect 4 0 0 0;
#X connect 6 0 3 0;
-#X connect 6 1 15 1;
-#X connect 7 0 18 0;
-#X connect 7 1 15 0;
-#X connect 7 2 3 1;
-#X connect 10 0 6 0;
-#X connect 14 0 2 0;
-#X connect 14 1 5 0;
-#X connect 17 0 10 0;
+#X connect 6 1 14 1;
+#X connect 9 0 6 0;
+#X connect 13 0 2 0;
+#X connect 13 1 5 0;
+#X connect 16 0 9 0;
+#X connect 17 0 16 0;
+#X connect 17 1 15 0;
#X connect 18 0 17 0;
-#X connect 18 1 16 0;
+#X connect 18 1 14 0;
+#X connect 18 2 3 1;
+#X connect 18 3 19 0;
#X restore 94 218 pd run-test;
#X obj 94 243 outlet;
#X obj 94 191 inlet;
-#N canvas 487 407 450 300 \$0-regressiontest 0;
+#N canvas 488 403 450 300 \$0-regressiontest 0;
#X restore 92 266 pd \$0-regressiontest;
#X text 64 17 the test MUST IMMEDIATELY return a result!;
#X text 87 39 1: OK (test passed);