1 IN: byte-arrays.tests
\r
2 USING: tools.test byte-arrays sequences kernel ;
\r
5 6 B{ 1 2 3 } resize-byte-array
\r
6 [ length ] [ 3 head ] bi
\r
9 [ B{ 1 2 } ] [ 2 B{ 1 2 3 4 5 6 7 8 9 } resize-byte-array ] unit-test
\r
11 [ -10 B{ } resize-byte-array ] must-fail
\r