On 4/14/11 6:52 AM, spir wrote:
On 04/14/2011 01:11 AM, bearophile wrote:
* Since most of them don't actually output anything, the program
> now detects output.length == 0 and says "Program run
> successfully." upon completion to give some feedback.
This is a problem. Unittest code is not meant to produce an output,
while online snippets to try are meant to nearly always produce a
meaningful output.

All my unittest blocks produce meaningful output; there exist firstly
for that. Am I an heretic?

No, you're just doing it wrong. Heretic might be sometimes good.

http://www.linfo.org/rule_of_silence.html

Andrei

Reply via email to