[plt-scheme] How to add check-expect to Pretty Big
(require test-engine/scheme-tests)
(check-expect 1 1)
(test)
On Feb 7, 2010, at 1:32 AM, Barry Brown wrote:
> How can I add the functionality of HtDP's testing (check-expect, et al) to Pretty Big?
>
> I tried (require htdp/testing), but when I run a few tests I run into a couple of difficulties:
>
> First, tests must come after the function definition. This isn't really a problem, but it differs from the HtDP languages.
>
> Second, I get output for each of the tests, rather than a summary:
> The only test passed!
> Both tests passed!
> All 3 tests passed!
>
> What do I need to do make Pretty Big act more like HtDP when it comes to testing?
>
> Thanks!_________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme