]> gitweb.factorcode.org Git - factor.git/blob - core/compiler/tests/tuples.factor
Merge branch 'master' of git://factorcode.org/git/factor
[factor.git] / core / compiler / tests / tuples.factor
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