remove math.blas.syntax and merge parsing words into math.blas.vectors/matrices
[factor/jcg.git] / core / math / math-tests.factor
blobc2077eb790cea8371271938742af97dc280fae67
1 USING: kernel math namespaces make tools.test ;
2 IN: math.tests
4 [ ] [ 5 [ ] times ] unit-test
5 [ ] [ 0 [ ] times ] unit-test
6 [ ] [ -1 [ ] times ] unit-test
8 [ ] [ 5 [ drop ] each-integer ] unit-test
9 [ [ 0 1 2 3 4 ] ] [ [ 5 [ , ] each-integer ] [ ] make ] unit-test
10 [ [ ] ] [ [ -1 [ , ] each-integer ] [ ] make ] unit-test
12 [ f ] [ 1/0. fp-nan? ] unit-test
13 [ f ] [ -1/0. fp-nan? ] unit-test
14 [ t ] [ -0/0. fp-nan? ] unit-test
16 [ t ] [ 1/0. fp-infinity? ] unit-test
17 [ t ] [ -1/0. fp-infinity? ] unit-test
18 [ f ] [ -0/0. fp-infinity? ] unit-test