dunit r247
Christopher Wright
dhasenan at gmail.com
Thu Mar 19 19:07:57 PDT 2009
Daniel Keep wrote:
> What about this syntax?
>
> check!("% == 3 || % == 5")(foo(5));
>
> This could display:
>
> Expected: (% == 3 || % == 5) for <value of foo(5)>.
>
> Then you don't have to dick about writing classes when you want to test
> something. Rule one of a good API: get out of my way. :D
>
> -- Daniel
On the face of it, that seems reasonable. I'm not certain what I will do
in that regard.
More information about the Digitalmars-d-announce
mailing list