chromium/ui/gfx/geometry/cubic_bezier_unittest.cc

// Copyright 2014 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/gfx/geometry/cubic_bezier.h"

#include <cmath>
#include <memory>

#include "testing/gtest/include/gtest/gtest.h"

namespace gfx {
namespace {

TEST(CubicBezierTest, Basic) {}

// Tests that solving the bezier works with knots with y not in (0, 1).
TEST(CubicBezierTest, UnclampedYValues) {}

static void TestBezierFiniteRange(CubicBezier& function) {}

// Tests that solving the bezier works with huge value infinity evaluation
TEST(CubicBezierTest, ClampInfinityEvaluation) {}

TEST(CubicBezierTest, Range) {}

TEST(CubicBezierTest, Slope) {}

TEST(CubicBezierTest, InputOutOfRange) {}

TEST(CubicBezierTest, GetPoints) {}

void validateSolver(const CubicBezier& cubic_bezier) {}

TEST(CubicBezierTest, CommonEasingFunctions) {}

TEST(CubicBezierTest, LinearEquivalentBeziers) {}

TEST(CubicBezierTest, ControlPointsOutsideUnitSquare) {}

}  // namespace
}  // namespace gfx