Skip to content

Commit

Permalink
base32: more zbase32 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Dec 8, 2024
1 parent 5d1eb77 commit 2eacd94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions basis/base32/base32-tests.factor
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ USING: base32 byte-arrays kernel sequences strings tools.test ;
{ 0 } [ "0" base32-crockford> ] unit-test
{ 0 } [ "00" base32-crockford-checksum> ] unit-test

{ t } [ 256 <iota> >byte-array dup >zbase32 zbase32> = ] unit-test

{ "" } [ "" >zbase32 >string ] unit-test
{ "ca" } [ "f" >zbase32 >string ] unit-test
{ "c3zo" } [ "fo" >zbase32 >string ] unit-test
Expand Down

0 comments on commit 2eacd94

Please sign in to comment.