Merge branch 'master' of git://factorcode.org/git/factor

db4
Doug Coleman 2008-12-09 21:16:59 -06:00
commit b1655afc1f
1 changed files with 5 additions and 2 deletions
core/byte-arrays

View File

@ -1,7 +1,10 @@
IN: byte-arrays.tests
USING: tools.test byte-arrays ;
USING: tools.test byte-arrays sequences kernel ;
[ B{ 1 2 3 0 0 0 } ] [ 6 B{ 1 2 3 } resize-byte-array ] unit-test
[ 6 B{ 1 2 3 } ] [
6 B{ 1 2 3 } resize-byte-array
[ length ] [ 3 head ] bi
] unit-test
[ B{ 1 2 } ] [ 2 B{ 1 2 3 4 5 6 7 8 9 } resize-byte-array ] unit-test