#include "FruUtils.hpp" #include #include "gtest/gtest.h" extern "C" { // Include for I2C_SMBUS_BLOCK_MAX #include } TEST(ValidateHeaderTest, InvalidFruVersionReturnsFalse) { // Validates the FruVersion is checked for the only legal value. constexpr std::array fru_header = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; EXPECT_FALSE(validateHeader(fru_header)); }