[racket] check-fact would be nice...
In full Racket, use rackunit and it has all these goodies.
For *SL, I prefer it if students spell it all out. It is trivial to indoctrinate every single student
with a test is only a test if it consists of an expression and an expected value.
On Oct 13, 2011, at 7:43 PM, Adam Shaw wrote:
> Forgive me if the following already exists in Racket, but I would appreciate if something like
>
> (check-fact <bool-exp>)
>
> (or check-pred, check-truth, whatever) as an alternative to
>
> (check-expect <bool-exp> true)
>
> Seems like it would be a reasonable addition.
>
> Cheers - Adam
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20111013/a40ed05b/attachment.html>