[plt-scheme] Re: PLT Scheme v370
Don't give away the answers! :-)
On May 24, 2007, at 5:45 PM, Chris Warrington wrote:
>
> Matthias Felleisen @ 2007-5-24 1:13:33 PM
> "[plt-scheme] Re: PLT Scheme v370" <mid:FB986A3E-85B6-47C9-A1BB-
> AF7742E4885D at ccs.neu.edu>
>
>> Specifically:
>
>> (require (lib "testing.ss" "htdp"))
>
>> (check-expect (+ 1 1) 2)
>> (check-expect (+ 1 1) 3)
>> (check-error (/ 1 0))
>> (check-error (/ 1 2))
>> (generate-report)
>
> Try this instead:
> (require (lib "testing.ss" "htdp"))
>
> (check-expect (+ 1 1) 2)
> (check-expect (+ 1 1) 3)
> (check-error (/ 1 0) "/: division by zero")
> (check-error (/ 1 2) "/: division by zero")
> (generate-report)
>
> That's pretty nice. However, I can't seem to copy text from the
> results window.
>
> --
> Chris Warrington <chrisw at rice.edu>
>
>
> In an office: AFTER TEA BREAK STAFF SHOULD EMPTY THE TEAPOT AND STAND
> UPSIDE DOWN ON THE DRAINING BOARD