factor/basis/ui/gadgets/presentations/presentations-tests.factor

15 lines
346 B
Factor
Raw Normal View History

2007-09-20 18:09:08 -04:00
USING: math ui.gadgets.presentations ui.gadgets tools.test
prettyprint ui.gadgets.buttons io io.streams.string kernel
2008-09-02 02:52:22 -04:00
classes.tuple accessors ;
IN: ui.gadgets.presentations.tests
2007-09-20 18:09:08 -04:00
{ t } [
2008-08-23 00:20:49 -04:00
"Hi" \ + <presentation> gadget?
2007-09-20 18:09:08 -04:00
] unit-test
{ "+" } [
2007-09-20 18:09:08 -04:00
[
2008-09-02 02:52:22 -04:00
\ + f \ pprint <command-button> dup quot>> call
] with-string-writer
2007-09-20 18:09:08 -04:00
] unit-test