factor/basis/tools/crossref/crossref-tests.factor

14 lines
363 B
Factor
Raw Normal View History

2008-12-15 02:40:50 -05:00
USING: math kernel sequences io.files io.pathnames
tools.crossref tools.test 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-07-28 23:03:13 -04:00
"resource:basis/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