#include "third_party/blink/renderer/platform/graphics/dark_mode_image_classifier.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/graphics/bitmap_image.h"
#include "third_party/blink/renderer/platform/graphics/dark_mode_settings.h"
#include "third_party/blink/renderer/platform/graphics/image.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_image.h"
#include "third_party/blink/renderer/platform/testing/testing_platform_support_with_mock_scheduler.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
#include "third_party/blink/renderer/platform/wtf/shared_buffer.h"
#include "third_party/skia/include/core/SkCanvas.h"
namespace blink {
namespace {
const float kEpsilon = …;
}
class DarkModeImageClassifierTest : public testing::Test { … };
TEST_F(DarkModeImageClassifierTest, ValidImage) { … }
TEST_F(DarkModeImageClassifierTest, InvalidImage) { … }
TEST_F(DarkModeImageClassifierTest, ImageSpriteAllFragmentsSame) { … }
TEST_F(DarkModeImageClassifierTest, ImageSpriteAlternateFragmentsSame) { … }
TEST_F(DarkModeImageClassifierTest, BlockSamples) { … }
TEST_F(DarkModeImageClassifierTest, FeaturesAndClassification) { … }
}