repo.or.cz
/
factor
/
jcg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove math.blas.syntax and merge parsing words into math.blas.vectors/matrices
[factor/jcg.git]
/
extra
/
multi-methods
/
tests
/
legacy.factor
blob
f4bd0a00b224bcb973b949e23b0c2e9c0caedb1e
1
IN: multi-methods.tests
2
USING: math strings sequences tools.test ;
3
4
GENERIC: legacy-test
5
6
M: integer legacy-test sq ;
7
M: string legacy-test " hey" append ;
8
9
[ 25 ] [ 5 legacy-test ] unit-test
10
[ "hello hey" ] [ "hello" legacy-test ] unit-test