factor/basis/see/see-tests.factor

23 lines
616 B
Factor
Raw Normal View History

2015-08-13 19:12:17 -04:00
USING: see tools.test io.streams.string math sequences summary
words ;
IN: see.tests
CONSTANT: test-const 10
2013-03-31 20:12:35 -04:00
{ "IN: see.tests\nCONSTANT: test-const 10 inline\n" }
[ [ \ 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
ALIAS: test-alias +
{ "USING: math ;\nIN: see.tests\nALIAS: test-alias + inline\n" }
[ [ \ test-alias see ] with-string-writer ] unit-test
2009-05-16 17:57:58 -04:00
{ "IN: see.tests ALIAS: test-alias ( x y -- z )" }
2013-03-31 20:12:35 -04:00
[ \ test-alias summary ] unit-test
{ } [ gensym see ] unit-test
2015-08-13 19:12:17 -04:00