[PD] regression testing WAS Re: [psql] object hand-holding
matju at artengine.ca
Mon Dec 24 17:59:35 CET 2007
On Sun, 23 Dec 2007, Hans-Christoph Steiner wrote:
>> e.g. "fail_blabla" will only success if it returns the state "FAIL"
>> immediately or after a "WAIT".
> In a binary system, anything that doesn't success would be a failure.
> I don't quite get the WAIT state. Do you have an example of where to
> use that?
In most tristate electronics, the third state is WAIT, but in Pd, you
normally do that by not sending a message: if as binary you'd send a 0 or
1 while running a certain method, and want to introduce a WAIT state,
you'd make it not output anything at first, introduce proper [delay], and
only later send a 0 or 1 when it's ready. It's as simple as that. If the
answer is not going to come, an explicit "wait" message isn't going to
disambiguate nor solve that, so it might be a good idea to put some
timeout protection *outside* of the tests themselves.
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
More information about the Pd-list