--- /dev/null
+IN: cairo.tests
+USING: cairo tools.test math.rectangles accessors ;
+
+[ { 10 20 } ] [
+ { 10 20 } [
+ { 0 1 } { 3 4 } <rect> fill-rect
+ ] make-bitmap-image dim>>
+] unit-test
\ No newline at end of file
[ t ] [
[
- "OH, HAI"
<font> "Helvetica" >>name 12 >>size
- dummy-cairo
- <layout> &g_object_unref
- layout-dim
- ] with-destructors [ { [ integer? ] [ 0 > ] } 1&& ] all?
+ "OH, HAI"
+ cached-layout ink-rect>> dim>>
+ ] with-destructors [ 0 > ] all?
] unit-test
\ No newline at end of file