]> gitweb.factorcode.org Git - factor.git/blob - core/checksums/crc32/crc32-tests.factor
use radix literals
[factor.git] / core / checksums / crc32 / crc32-tests.factor
1 USING: checksums checksums.crc32 kernel math tools.test namespaces ;
2
3 [ B{ 0 0 0 0 } ] [ "" crc32 checksum-bytes ] unit-test
4
5 [ B{ 0xcb 0xf4 0x39 0x26 } ] [ "123456789" crc32 checksum-bytes ] unit-test
6