Ick, no.
We do all sorts of dodgy stuff in our test suite to stress
implementations, probe obscure corner cases, double up on checks based
on where and when bugs happened to be reported. Large parts of it are
written to make the tests easier to write, not because they reflect
any kind of idiomatic code, or good ways of doing things in a real
application.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia