Program logic bugs vs input/environmental errors

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Thu Oct 16 00:35:20 PDT 2014


On 10/15/2014 7:35 AM, Dan Olson wrote:
> That is what I am looking for, just being able to continue from a failed
> assert in a unittest.

Just use enforce() or something similar instead of assert(). Nothing says you 
have to use assert() in a unittest.



More information about the Digitalmars-d mailing list