ZBase32Spec

53

tests

0

failures

0

ignored

0.009s

duration

100%

successful

Tests

Test Duration Result
Double check with other zbase32 examples from other implementations. 0.001s passed
Verify that decoding z-base32 encoded to data 0x with 0 bits. 0s passed
Verify that decoding z-base32 encoded 4t7ye to data 0xd47a04 with 24 bits. 0s passed
Verify that decoding z-base32 encoded 4t7ye to data 0xd47a04 without specifying bits. 0s passed
Verify that decoding z-base32 encoded 6im54d to data 0xf557bd0c with 30 bits. 0s passed
Verify that decoding z-base32 encoded 6n9hq to data 0xf0bfc7 with 24 bits. 0.001s passed
Verify that decoding z-base32 encoded 6n9hq to data 0xf0bfc7 without specifying bits. 0.001s passed
Verify that decoding z-base32 encoded 99999999 to data 0xffffffffff with 40 bits. 0s passed
Verify that decoding z-base32 encoded 99999999 to data 0xffffffffff without specifying bits. 0s passed
Verify that decoding z-base32 encoded 999999999h to data 0xffffffffffff with 48 bits. 0s passed
Verify that decoding z-base32 encoded 999999999h to data 0xffffffffffff without specifying bits. 0s passed
Verify that decoding z-base32 encoded 99o to data 0xffe0 with 11 bits. 0s passed
Verify that decoding z-base32 encoded 9h to data 0xff with 8 bits. 0s passed
Verify that decoding z-base32 encoded 9h to data 0xff without specifying bits. 0s passed
Verify that decoding z-base32 encoded a to data 0xc0 with 2 bits. 0s passed
Verify that decoding z-base32 encoded ab3sr1ix8fhfnuzaeo75fkn3a7xh8udk6jsiiko to data 0xc073624aaf3978514ef8443bb2a859c75fc3cc6af26d5aaa with 192 bits. 0.001s passed
Verify that decoding z-base32 encoded ab3sr1ix8fhfnuzaeo75fkn3a7xh8udk6jsiiko to data 0xc073624aaf3978514ef8443bb2a859c75fc3cc6af26d5aaa without specifying bits. 0s passed
Verify that decoding z-base32 encoded e to data 0x40 with 2 bits. 0s passed
Verify that decoding z-base32 encoded gtpy to data 0x345a without specifying bits. 0s passed
Verify that decoding z-base32 encoded nyet to data 0x101110 with 20 bits. 0s passed
Verify that decoding z-base32 encoded nyety to data 0x101110 with 24 bits. 0s passed
Verify that decoding z-base32 encoded o to data 0x80 with 1 bits. 0s passed
Verify that decoding z-base32 encoded on to data 0x8080 with 10 bits. 0s passed
Verify that decoding z-base32 encoded sw to data 0xb5 without specifying bits. 0s passed
Verify that decoding z-base32 encoded tqre to data 0x8b8880 with 20 bits. 0s passed
Verify that decoding z-base32 encoded y to data 0x00 with 1 bits. 0s passed
Verify that decoding z-base32 encoded yy to data 0x0000 with 10 bits. 0s passed
Verify that encode of 345a without specifying bits encodes into gtpy 0s passed
Verify that encode of b5 without specifying bits encodes into sw 0s passed
Verify that encode of c073624aaf3978514ef8443bb2a859c75fc3cc6af26d5aaa without specifying bits encodes into ab3sr1ix8fhfnuzaeo75fkn3a7xh8udk6jsiiko 0s passed
Verify that encode of d47a04 without specifying bits encodes into 4t7ye 0s passed
Verify that encode of f0bfc7 without specifying bits encodes into 6n9hq 0s passed
Verify that encode of ff without specifying bits encodes into 9h 0s passed
Verify that encode of ffffffffff without specifying bits encodes into 99999999 0s passed
Verify that encode of ffffffffffff without specifying bits encodes into 999999999h 0s passed
Verify that encoding 0x with 0 bits results in z-base32 encoding 0.002s passed
Verify that encoding 0x00 with 1 bits results in z-base32 encoding y 0s passed
Verify that encoding 0x0000 with 10 bits results in z-base32 encoding yy 0s passed
Verify that encoding 0x101110 with 20 bits results in z-base32 encoding nyet 0.001s passed
Verify that encoding 0x101110 with 24 bits results in z-base32 encoding nyety 0s passed
Verify that encoding 0x40 with 2 bits results in z-base32 encoding e 0s passed
Verify that encoding 0x80 with 1 bits results in z-base32 encoding o 0s passed
Verify that encoding 0x8080 with 10 bits results in z-base32 encoding on 0s passed
Verify that encoding 0x8b8880 with 20 bits results in z-base32 encoding tqre 0.001s passed
Verify that encoding 0xc0 with 2 bits results in z-base32 encoding a 0s passed
Verify that encoding 0xc073624aaf3978514ef8443bb2a859c75fc3cc6af26d5aaa with 192 bits results in z-base32 encoding ab3sr1ix8fhfnuzaeo75fkn3a7xh8udk6jsiiko 0s passed
Verify that encoding 0xd47a04 with 24 bits results in z-base32 encoding 4t7ye 0s passed
Verify that encoding 0xf0bfc7 with 24 bits results in z-base32 encoding 6n9hq 0s passed
Verify that encoding 0xf557bd0c with 30 bits results in z-base32 encoding 6im54d 0s passed
Verify that encoding 0xff with 8 bits results in z-base32 encoding 9h 0.001s passed
Verify that encoding 0xffe0 with 11 bits results in z-base32 encoding 99o 0s passed
Verify that encoding 0xffffffffff with 40 bits results in z-base32 encoding 99999999 0s passed
Verify that encoding 0xffffffffffff with 48 bits results in z-base32 encoding 999999999h 0s passed