Files
pd-l2ork/scripts/regression_tests/msg_dollarzero.pd
Jonathan Wilkes 6cb23744eb add regression tests for changes to message box (and future regressions)
This is an initial attempt at a regression testing framework.

Initially it has some regression tests that come from the work on
improvements to the msg box.

The framework allows the tests themselves to remain extremely simple. They
just need to send a number and potential error message to the outlet.

However, they do need to be added in the main patch. This is because we
will need to run some tests in a certain order. We could number the test
filenames but that's less easy to change later.
2018-04-13 22:10:03 -04:00

28 lines
671 B
Plaintext

#N canvas 12 147 582 396 12;
#X obj 36 25 inlet;
#X obj 36 54 t b b;
#X obj 36 90 f \$0;
#X msg 93 90 \$0;
#X obj 36 324 outlet;
#X obj 36 197 ==;
#X obj 36 292 list append;
#X obj 68 197 list;
#X obj 36 115 t a a;
#X obj 93 115 t a a;
#X msg 68 224 dollarzero should have the same value in a message box
as it does in an object box. In this test object box dollarzero was
\$1 and msg box dollarzero was \$2;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 1 1 3 0;
#X connect 2 0 8 0;
#X connect 3 0 9 0;
#X connect 5 0 6 0;
#X connect 6 0 4 0;
#X connect 7 0 10 0;
#X connect 8 0 5 0;
#X connect 8 1 7 0;
#X connect 9 0 5 1;
#X connect 9 1 7 1;
#X connect 10 0 6 1;