chromium/components/safe_browsing/content/common/visual_utils_unittest.cc

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

#include "components/safe_browsing/content/common/visual_utils.h"

#include <array>

#include "base/containers/span.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/test_discardable_memory_allocator.h"
#include "components/safe_browsing/core/common/features.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkColorPriv.h"
#include "third_party/skia/include/core/SkColorSpace.h"

namespace safe_browsing::visual_utils {

namespace {

const SkPMColor kSkPMRed =;
const SkPMColor kSkPMGreen =;
const SkPMColor kSkPMBlue =;

}  // namespace

FloatEq;

class VisualUtilsTest : public testing::Test {};

TEST_F(VisualUtilsTest, BlurImageWhite) {}

TEST_F(VisualUtilsTest, BlurImageRed) {}

TEST_F(VisualUtilsTest, BlurImageHalfWhiteHalfBlack) {}

TEST_F(VisualUtilsTest, BlockMeanAverageOneBlock) {}

TEST_F(VisualUtilsTest, BlockMeanAveragePartialBlocks) {}

TEST_F(VisualUtilsTest, NonSquareBlurredImage) {}

}  // namespace safe_browsing::visual_utils