chromium/ui/gfx/test/sk_color_eq.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/gfx/test/sk_color_eq.h"

#include <iomanip>
#include <string>

namespace gfx {

namespace {

std::string ColorAsString(SkColor color) {}

bool ColorComponentsClose(SkColor component1,
                          SkColor component2,
                          int max_deviation) {}

}  // namespace

::testing::AssertionResult AssertSkColorsEqual(const char* lhs_expr,
                                               const char* rhs_expr,
                                               SkColor lhs,
                                               SkColor rhs) {}

bool ColorsClose(SkColor color1,
                 SkColor color2,
                 int max_per_channel_deviation) {}

::testing::AssertionResult AssertSkColorsClose(
    const char* lhs_expr,
    const char* rhs_expr,
    const char* max_per_channel_deviation_expr,
    SkColor lhs,
    SkColor rhs,
    int max_per_channel_deviation) {}

}  // namespace gfx