factor/core/io/binary/binary-tests.factor

9 lines
226 B
Factor
Raw Normal View History

2007-09-20 18:09:08 -04:00
USING: io.binary tools.test ;
IN: temporary
[ "\0\0\u000004\u0000d2" ] [ 1234 4 >be ] unit-test
[ "\u0000d2\u000004\0\0" ] [ 1234 4 >le ] unit-test
2007-09-20 18:09:08 -04:00
[ 1234 ] [ 1234 4 >be be> ] unit-test
[ 1234 ] [ 1234 4 >le le> ] unit-test