2007-09-20 18:09:08 -04:00
|
|
|
USING: math kernel sequences io.files tools.crossref tools.test
|
2008-02-23 23:48:45 -05:00
|
|
|
parser namespaces source-files generic definitions ;
|
2008-03-01 17:00:45 -05:00
|
|
|
IN: tools.crossref.tests
|
2007-09-20 18:09:08 -04:00
|
|
|
|
|
|
|
GENERIC: foo
|
|
|
|
|
|
|
|
M: integer foo + ;
|
|
|
|
|
2008-03-03 17:44:24 -05:00
|
|
|
"resource:extra/tools/crossref/test/foo.factor" run-file
|
2007-09-20 18:09:08 -04:00
|
|
|
|
2008-03-05 17:24:32 -05:00
|
|
|
[ t ] [ integer \ foo method \ + usage member? ] unit-test
|
2008-02-23 23:29:29 -05:00
|
|
|
[ t ] [ \ foo usage [ pathname? ] contains? ] unit-test
|