1234567891011121314151617181920212223 |
- // Copyright 2021 The Chromium Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
- #ifndef UI_GFX_TEST_SK_COLOR_EQ_H_
- #define UI_GFX_TEST_SK_COLOR_EQ_H_
- #include "testing/gtest/include/gtest/gtest.h"
- #include "third_party/skia/include/core/SkColor.h"
- namespace gfx {
- #define EXPECT_SKCOLOR_EQ(a, b) \
- EXPECT_PRED_FORMAT2(::gfx::AssertSkColorsEqual, a, b)
- ::testing::AssertionResult AssertSkColorsEqual(const char* lhs_expr,
- const char* rhs_expr,
- SkColor lhs,
- SkColor rhs);
- } // namespace gfx
- #endif // UI_GFX_TEST_SK_COLOR_EQ_H_
|