chromium/third_party/blink/renderer/platform/fonts/palette_interpolation_test.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 "third_party/blink/renderer/platform/fonts/palette_interpolation.h"

#include "base/files/file_path.h"
#include "base/memory/scoped_refptr.h"
#include "base/test/task_environment.h"
#include "third_party/blink/public/platform/file_path_conversion.h"
#include "third_party/blink/renderer/platform/fonts/font.h"
#include "third_party/blink/renderer/platform/graphics/color.h"
#include "third_party/blink/renderer/platform/testing/font_test_base.h"
#include "third_party/blink/renderer/platform/testing/font_test_helpers.h"
#include "third_party/blink/renderer/platform/testing/runtime_enabled_features_test_helpers.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
#include "third_party/blink/renderer/platform/wtf/wtf_size_t.h"
#include "third_party/skia/include/core/SkRefCnt.h"
#include "third_party/skia/include/core/SkTypeface.h"

#include <utility>
#include <vector>

namespace {

constexpr double kMaxAlphaDifference =;

String pathToColorPalettesTestFont() {}
String pathToNonColorTestFont() {}

}  // namespace

namespace blink {

class PaletteInterpolationTest : public FontTestBase {};

TEST_F(PaletteInterpolationTest, RetrievePaletteIndexFromColorFont) {}

TEST_F(PaletteInterpolationTest, RetrievePaletteIndexFromNonColorFont) {}

TEST_F(PaletteInterpolationTest, MixCustomPalettesAtHalfTime) {}

TEST_F(PaletteInterpolationTest, MixCustomAndNonExistingPalettes) {}

TEST_F(PaletteInterpolationTest, MixNonExistingPalettes) {}

TEST_F(PaletteInterpolationTest, MixCustomPalettesInOklab) {}

TEST_F(PaletteInterpolationTest, MixCustomPalettesInSRGB) {}

}  // namespace blink