#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "device/gamepad/gamepad_blocklist.h"
#include "device/gamepad/gamepad_id_list.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace device {
namespace {
constexpr std::pair<uint16_t, uint16_t> kBlockedDevices[] = …;
constexpr size_t kBlockedDevicesLength = …;
constexpr std::pair<uint16_t, uint16_t> kBlockedVendorDevices[] = …;
constexpr size_t kBlockedVendorDevicesLength = …;
}
TEST(GamepadBlocklistTest, KnownGamepadsNotBlocked) { … }
TEST(GamepadBlocklistTest, BlockedDevices) { … }
TEST(GamepadBlocklistTest, BlockedVendors) { … }
}