Let's bikeshed std.experimental.testing assertions/checks/whatchamacallits

Meta via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 30 05:00:35 PDT 2015


On Tuesday, 30 June 2015 at 08:06:37 UTC, Atila Neves wrote:
> 2a) Compile-time strings for operators: `should!"=="`, 
> `should!"in"`
> 2b) Dicebot's `test!"=="`. `assert` is so much better, I wish 
> we could use that.

I think these are both bad, for the reason that ! also means 
logical not. I read `should!"=="` as "should not equal" before 
catching myself.


More information about the Digitalmars-d mailing list