factor/basis/bootstrap/image/image-tests.factor

20 lines
438 B
Factor
Raw Normal View History

2008-04-29 02:49:06 -04:00
USING: bootstrap.image bootstrap.image.private tools.test
kernel math ;
IN: bootstrap.image.tests
2007-12-26 21:37:18 -05:00
{ f } [ { 1 2 3 } [ 1 2 3 ] eql? ] unit-test
2008-04-29 02:49:06 -04:00
{ t } [ [ 1 2 3 ] [ 1 2 3 ] eql? ] unit-test
2008-04-29 02:49:06 -04:00
{ f } [ [ 2drop 0 ] [ 2drop 0.0 ] eql? ] unit-test
2008-04-29 02:49:06 -04:00
{ t } [ [ 2drop 0 ] [ 2drop 0 ] eql? ] unit-test
2008-04-29 02:49:06 -04:00
{ f } [ \ + [ 2drop 0 ] eql? ] unit-test
2008-04-29 02:49:06 -04:00
{ f } [ 3 [ 0 1 2 ] eql? ] unit-test
2008-04-29 02:49:06 -04:00
{ f } [ 3 3.0 eql? ] unit-test
2008-04-29 02:49:06 -04:00
{ t } [ 4.0 4.0 eql? ] unit-test