repo.or.cz
/
factor
/
jcg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug fixes for lcs.diff2html; xml.writer
[factor/jcg.git]
/
basis
/
ui
/
cocoa
/
views
/
views-tests.factor
blob
fc64534cfbf4dd11a9d983eea60c46f47c7d9317
1
IN: ui.cocoa.views.tests
2
USING: ui.cocoa.views tools.test kernel math.geometry.rect
3
namespaces ;
4
5
[ t ] [
6
T{ rect
7
{ loc { 0 0 } }
8
{ dim { 1000 1000 } }
9
} "world" set
10
11
T{ rect
12
{ loc { 1.5 2.25 } }
13
{ dim { 13.0 14.0 } }
14
} dup "world" get rect>NSRect "world" get NSRect>rect =
15
] unit-test