14 lines
		
	
	
		
			349 B
		
	
	
	
		
			Factor
		
	
	
		
			Executable File
		
	
			
		
		
	
	
			14 lines
		
	
	
		
			349 B
		
	
	
	
		
			Factor
		
	
	
		
			Executable File
		
	
USING: math kernel sequences io.files io.pathnames
 | 
						|
tools.crossref tools.test parser namespaces source-files generic
 | 
						|
definitions ;
 | 
						|
IN: tools.crossref.tests
 | 
						|
 | 
						|
GENERIC: foo
 | 
						|
 | 
						|
M: integer foo + ;
 | 
						|
 | 
						|
"vocab:tools/crossref/test/foo.factor" run-file
 | 
						|
 | 
						|
[ t ] [ integer \ foo method \ + usage member? ] unit-test
 | 
						|
[ t ] [ \ foo usage [ pathname? ] any? ] unit-test
 |