]> gitweb.factorcode.org Git - factor.git/blob - basis/checksums/xxhash/xxhash-tests.factor
basis: Cleaning up tests using lists and IN: forms.
[factor.git] / basis / checksums / xxhash / xxhash-tests.factor
1 USING: byte-arrays checksums checksums.xxhash tools.test ;
2
3 { 1584409650 } [ "asdf" 0 <xxhash> checksum-bytes ] unit-test
4 { 4257502458 } [ "Hello World!" 12345 <xxhash> checksum-bytes ] unit-test
5
6 { 1584409650 } [ "asdf" >byte-array 0 <xxhash> checksum-bytes ] unit-test
7 { 4257502458 } [ "Hello World!" >byte-array 12345 <xxhash> checksum-bytes ] unit-test