tests for add-line and inexact coordinate
svn: r1395
This commit is contained in:
parent
037ad25c87
commit
97b8442af2
|
@ -664,6 +664,16 @@
|
||||||
20 20
|
20 20
|
||||||
'red)))
|
'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)
|
(test (list 3 4)
|
||||||
'ph-ellipse
|
'ph-ellipse
|
||||||
(list (pinhole-x (ellipse 6 8 'solid 'red))
|
(list (pinhole-x (ellipse 6 8 'solid 'red))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user