Files
pd-l2ork/scripts/regression_tests/binbuf_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

23 lines
544 B
Plaintext

#N canvas 144 129 582 396 12;
#X obj 36 25 inlet;
#X obj 36 225 outlet;
#X obj 36 50 route float;
#X obj 36 116 f 1;
#X obj 36 75 select 0;
#X obj 89 115 t b a;
#X obj 121 152 list prepend dollarzero in a binbuf with no target should
expand to "0". In this test it expanded to;
#X obj 89 152 f 0;
#X obj 36 195 list append;
#X connect 0 0 2 0;
#X connect 2 0 4 0;
#X connect 2 1 5 0;
#X connect 3 0 8 0;
#X connect 4 0 3 0;
#X connect 4 1 5 0;
#X connect 5 0 7 0;
#X connect 5 1 6 0;
#X connect 6 0 8 1;
#X connect 7 0 8 0;
#X connect 8 0 1 0;