chromium/chrome/renderer/companion/visual_query/visual_query_eligibility_unittest.cc

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

#include "chrome/renderer/companion/visual_query/visual_query_eligibility.h"

#include "base/test/metrics/histogram_tester.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/geometry/size_f.h"

namespace companion::visual_query {

Rect;
Size;
SizeF;
DoubleNear;
Pair;
UnorderedElementsAre;

TEST(EligibilityModuleTest, E2eExample) {}

TEST(EligibilityModuleTest, E2eExampleWithoutEligibleImages) {}

TEST(EligibilityModuleTest, TestWithMaxValueFeatureNormalization) {}

TEST(EligibilityModuleTest, TestWithViewportAreaFeatureNormalization) {}

TEST(EligibilityModuleTest, TestOringRules) {}

TEST(EligibilityModuleTest, TestImageVisibleArea) {}

TEST(EligibilityModuleTest, TestFeaturesForSecondPassCached) {}

TEST(EligibilityModuleTest, TestReuseModuleBetweenImageSets) {}

TEST(EligibilityModuleTest, TestImageFractionVisible) {}

TEST(EligibilityModuleTest, TestImageFeatureComputation) {}

TEST(EligibilityModuleTest, TestPageFeatureComputation) {}

TEST(EligibilityModuleTest, TestZIndexOverlapFiltering) {}

}  // namespace companion::visual_query