to allow ASSERT_EQ with RECT
| 6 | |
| 7 | // to allow ASSERT_EQ with RECT |
| 8 | static bool operator==(const RECT &left, const RECT &right) noexcept |
| 9 | { |
| 10 | // make sure there's no padding |
| 11 | static_assert(sizeof(RECT) == 4 * sizeof(LONG)); |
| 12 | |
| 13 | return std::memcmp(&left, &right, sizeof(RECT)) == 0; |
| 14 | } |
| 15 | |
| 16 | namespace { |
| 17 | static constexpr std::pair<std::wstring_view, std::wstring_view> differentContentCases[] = { |
nothing calls this directly
no outgoing calls
no test coverage detected