diff --git a/collects/tests/mzscheme/htdp-image.ss b/collects/tests/mzscheme/htdp-image.ss index 90869940b9..73a084ecc0 100644 --- a/collects/tests/mzscheme/htdp-image.ss +++ b/collects/tests/mzscheme/htdp-image.ss @@ -664,6 +664,16 @@ 20 20 'red))) +(test 5 + image-width + (add-line (line 0 0 'red) 3.141597 3 0 0 'black)) + +(test 'ignore + (lambda (x) 'ignore) + ;; Make sure that inexact coordinate doesn't create inexact + ;; width: + (send (add-line (line 0 0 'red) 3.141597 3 0 0 'black) get-argb)) + (test (list 3 4) 'ph-ellipse (list (pinhole-x (ellipse 6 8 'solid 'red))