Lines Matching refs:Calculate
43 EXPECT_EQ(Crc32::Calculate(span<std::byte>()), PW_CHECKSUM_EMPTY_CRC32); in TEST()
44 EXPECT_EQ(Crc32EightBit::Calculate(span<std::byte>()), in TEST()
46 EXPECT_EQ(Crc32FourBit::Calculate(span<std::byte>()), in TEST()
48 EXPECT_EQ(Crc32OneBit::Calculate(span<std::byte>()), PW_CHECKSUM_EMPTY_CRC32); in TEST()
52 EXPECT_EQ(Crc32::Calculate(as_bytes(span(kBytes))), kBufferCrc); in TEST()
53 EXPECT_EQ(Crc32EightBit::Calculate(as_bytes(span(kBytes))), kBufferCrc); in TEST()
54 EXPECT_EQ(Crc32FourBit::Calculate(as_bytes(span(kBytes))), kBufferCrc); in TEST()
55 EXPECT_EQ(Crc32OneBit::Calculate(as_bytes(span(kBytes))), kBufferCrc); in TEST()
59 EXPECT_EQ(Crc32::Calculate(as_bytes(span(kString))), kStringCrc); in TEST()
60 EXPECT_EQ(Crc32EightBit::Calculate(as_bytes(span(kString))), kStringCrc); in TEST()
61 EXPECT_EQ(Crc32FourBit::Calculate(as_bytes(span(kString))), kStringCrc); in TEST()
62 EXPECT_EQ(Crc32OneBit::Calculate(as_bytes(span(kString))), kStringCrc); in TEST()