remove math.blas.syntax and merge parsing words into math.blas.vectors/matrices
[factor/jcg.git] / basis / compiler / tests / redefine2.factor
blobd6e90187feb8ed10997b9215955836c6f81f992b
1 IN: compiler.tests
2 USING: compiler compiler.units tools.test math parser kernel
3 sequences sequences.private classes.mixin generic definitions
4 arrays words assocs eval ;
6 DEFER: redefine2-test
8 [ ] [ "USE: sequences USE: kernel IN: compiler.tests TUPLE: redefine2-test ; M: redefine2-test nth 2drop 3 ; INSTANCE: redefine2-test sequence" eval ] unit-test
10 [ t ] [ redefine2-test new sequence? ] unit-test
12 [ 3 ] [ 0 redefine2-test new nth-unsafe ] unit-test
14 [ ] [ [ redefine2-test sequence remove-mixin-instance ] with-compilation-unit ] unit-test
16 [ f ] [ redefine2-test new sequence? ] unit-test
18 [ 0 redefine2-test new nth-unsafe ] must-fail