Unit tests, asserts and contradictions in the spec

jmh530 john.michael.hall at gmail.com
Thu Feb 7 18:10:58 UTC 2019


On Thursday, 7 February 2019 at 15:43:34 UTC, H. S. Teoh wrote:
> [snip]
>
> Of course, on the flip side, unittests that acquire global / 
> external resources that need cleanup, etc., are IMNSHO a code 
> smell.

That's a good point. I should probably just stick pure on every 
unittest block by default.


More information about the Digitalmars-d mailing list