mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
Expose CRC-32 implementation from zlib
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188380 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -63,6 +63,12 @@ TEST(CompressionTest, Zlib) {
|
||||
TestZlibCompression(BinaryDataStr, zlib::DefaultCompression);
|
||||
}
|
||||
|
||||
TEST(CompressionTest, ZlibCRC32) {
|
||||
EXPECT_EQ(
|
||||
0x414FA339U,
|
||||
zlib::crc32(StringRef("The quick brown fox jumps over the lazy dog")));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user