2015-08-13 19:12:17 -04:00
|
|
|
USING: see tools.test io.streams.string math sequences summary
|
|
|
|
words ;
|
2009-04-05 21:44:34 -04:00
|
|
|
IN: see.tests
|
|
|
|
|
|
|
|
CONSTANT: test-const 10
|
2013-03-31 20:12:35 -04:00
|
|
|
|
2015-07-02 20:28:17 -04:00
|
|
|
{ "IN: see.tests\nCONSTANT: test-const 10 inline\n" }
|
2009-04-05 21:44:34 -04:00
|
|
|
[ [ \ test-const see ] with-string-writer ] unit-test
|
|
|
|
|
2015-08-13 19:12:17 -04:00
|
|
|
{ "IN: sequences\nERROR: non-negative-integer-expected n ;\n" }
|
|
|
|
[ [ \ non-negative-integer-expected see ] with-string-writer ] unit-test
|
|
|
|
|
2009-04-05 21:44:34 -04:00
|
|
|
ALIAS: test-alias +
|
|
|
|
|
2015-07-02 20:28:17 -04:00
|
|
|
{ "USING: math ;\nIN: see.tests\nALIAS: test-alias + inline\n" }
|
2009-04-05 21:44:34 -04:00
|
|
|
[ [ \ test-alias see ] with-string-writer ] unit-test
|
2009-05-16 17:57:58 -04:00
|
|
|
|
2015-07-02 20:28:17 -04:00
|
|
|
{ "IN: see.tests ALIAS: test-alias ( x y -- z )" }
|
2013-03-31 20:12:35 -04:00
|
|
|
[ \ test-alias summary ] unit-test
|
|
|
|
|
2015-07-02 20:28:17 -04:00
|
|
|
{ } [ gensym see ] unit-test
|
2015-08-13 19:12:17 -04:00
|
|
|
|