Add unit test for pack pref-dim bug

db4
Slava Pestov 2008-11-19 19:08:12 -06:00
parent 044d3f0665
commit c75c4efefd
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
USING: accessors tools.test ui.gadgets ui.gadgets.labels ;
IN: ui.gadgets.labels.tests
[ { 119 14 } ] [
<gadget> { 100 14 } >>dim
<gadget> { 14 14 } >>dim
label-on-right { 5 5 } >>gap
pref-dim
] unit-test