[plt-scheme] Re: PLT Scheme v370

From: Chris Warrington (chrisw at rice.edu)
Date: Thu May 24 17:45:58 EDT 2007

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 183 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20070524/07361476/attachment.sig>

Posted on the users mailing list.