]> gitweb.factorcode.org Git - factor.git/blob - core/checksums/crc32/crc32-tests.factor
factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.
[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