2019-04-05 16:38:00 -04:00
|
|
|
USING: base85 byte-arrays kernel sequences strings tools.test ;
|
2013-04-04 13:39:43 -04:00
|
|
|
|
2019-04-05 16:38:00 -04:00
|
|
|
{ t } [ 256 <iota> >byte-array dup >base85 base85> = ] unit-test
|
2013-04-04 14:43:17 -04:00
|
|
|
|
2019-01-26 00:14:11 -05:00
|
|
|
{ "NM!" } [ "He" >base85 >string ] unit-test
|
2013-04-04 14:43:17 -04:00
|
|
|
{ t } [ "He" dup >base85 base85> >string = ] unit-test
|
2019-01-26 00:14:11 -05:00
|
|
|
|
|
|
|
{ "00" } [ B{ 0 } >base85 >string ] unit-test
|
|
|
|
{ "\0" } [ "00" base85> >string ] unit-test
|