Home
last modified time | relevance | path

Searched refs:assertCrc (Results 1 – 1 of 1) sorted by relevance

/external/guava/guava-tests/test/com/google/common/hash/
DCrc32cHashFunctionTest.java35 assertCrc(0x8a9136aa, zeros); in testZeros()
42 assertCrc(0x62a8ab43, fulls); in testFull()
51 assertCrc(0x46dd794e, ascending); in testAscending()
60 assertCrc(0x113fdb5c, descending); in testDescending()
78 assertCrc(0xd9963a56, scsiReadCommand); in testScsiReadCommad()
83 assertCrc(0x22620404, "The quick brown fox jumps over the lazy dog".getBytes(UTF_8)); in testSomeOtherKnownValues()
84 assertCrc(0xE3069283, "123456789".getBytes(UTF_8)); in testSomeOtherKnownValues()
85 assertCrc(0xf3dbd4fe, "1234567890".getBytes(UTF_8)); in testSomeOtherKnownValues()
86 assertCrc(0xBFE92A83, "23456789".getBytes(UTF_8)); in testSomeOtherKnownValues()
95 private static void assertCrc(int expectedCrc, byte[] data) { in assertCrc() method in Crc32cHashFunctionTest