// Copyright 2019 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/color/color_recipe.h" #include <algorithm> #include "testing/gtest/include/gtest/gtest.h" #include "ui/color/color_mixer.h" #include "ui/color/color_test_ids.h" #include "ui/color/color_transform.h" #include "ui/gfx/color_palette.h" namespace ui { namespace { // Tests that a recipe with no transforms passes through its input color // unchanged. TEST(ColorRecipeTest, EmptyRecipeIsPassthrough) { … } // Tests that a transform in a recipe has an effect. TEST(ColorRecipeTest, OneTransform) { … } // Tests that in a recipe with multiple transforms, each is applied. TEST(ColorRecipeTest, ChainedTransforms) { … } } // namespace } // namespace ui