2 USING: ui.commands ui.gestures tools.test help.markup io
5 [ "A+a" ] [ T{ key-down f { A+ } "a" } gesture>string ] unit-test
6 [ "b" ] [ T{ key-down f f "b" } gesture>string ] unit-test
7 [ "Press Button 2" ] [ T{ button-down f f 2 } gesture>string ] unit-test
11 \ com-test-1 H{ } define-command
13 [ [ 3 com-test-1 ] ] [ 3 \ com-test-1 command-quot ] unit-test
17 \ com-test-2 H{ { +nullary+ t } } define-command
19 [ [ com-test-2 ] ] [ 3 \ com-test-2 command-quot ] unit-test
23 testing "testing" "hey" {
24 { T{ key-down f { C+ } "x" } com-test-1 }
29 { $command testing "testing" com-test-1 } print-element