blob: 242909721c56e4b385fee715a066fb1ca41e8d59 [file] [log] [blame]
#include <vector>
#include "libpldm/utils.h"
#include <gtest/gtest.h>
TEST(Crc32, CheckSumTest)
{
const char* password = "123456789";
auto checksum = crc32(password, 9);
EXPECT_EQ(checksum, 0xcbf43926);
}