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
Merge branch 'master' of git://factorcode.org/git/factor
[factor/jcg.git]
/
basis
/
compiler
/
tests
/
tuples.factor
blob
602b438432795832e0649e6b401b9cfb84191eae
1
IN: compiler.tests
2
USING: kernel tools.test compiler.units ;
3
4
TUPLE: color red green blue ;
5
6
[ T{ color f 1 2 3 } ]
7
[ 1 2 3 [ color boa ] compile-call ] unit-test
8
9
[ T{ color f f f f } ]
10
[ [ color new ] compile-call ] unit-test