2007-09-20 18:09:08 -04:00
|
|
|
USING: kernel math namespaces tools.test ;
|
2008-03-01 17:00:45 -05:00
|
|
|
IN: math.tests
|
2007-09-20 18:09:08 -04:00
|
|
|
|
|
|
|
[ ] [ 5 [ ] times ] unit-test
|
|
|
|
[ ] [ 0 [ ] times ] unit-test
|
|
|
|
[ ] [ -1 [ ] times ] unit-test
|
|
|
|
|
|
|
|
[ ] [ 5 [ drop ] each-integer ] unit-test
|
|
|
|
[ [ 0 1 2 3 4 ] ] [ [ 5 [ , ] each-integer ] [ ] make ] unit-test
|
|
|
|
[ [ ] ] [ [ -1 [ , ] each-integer ] [ ] make ] unit-test
|
|
|
|
|