factor/extra/game-input/game-input-tests.factor

12 lines
299 B
Factor
Raw Normal View History

2009-03-07 02:22:21 -05:00
IN: game-input.tests
USING: ui game-input tools.test kernel system threads
combinators.short-circuit calendar ;
2009-03-07 02:22:21 -05:00
{
[ os windows? ui-running? and ]
[ os macosx? ]
} 0|| [
2009-03-07 02:22:21 -05:00
[ ] [ open-game-input ] unit-test
[ ] [ 1 seconds sleep ] unit-test
2009-03-07 02:22:21 -05:00
[ ] [ close-game-input ] unit-test
] when