#include "cc/animation/scroll_offset_animation_curve.h"
#include "base/time/time.h"
#include "cc/animation/scroll_offset_animation_curve_factory.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/animation/keyframe/timing_function.h"
#include "ui/gfx/geometry/test/geometry_util.h"
DurationBehavior;
const double kConstantDuration = …;
const double kDurationDivisor = …;
const double kInverseDeltaMaxDuration = …;
namespace cc {
namespace {
constexpr double halfway_through_default_impulse_curve = …;
}
TEST(ScrollOffsetAnimationCurveTest, DeltaBasedDuration) { … }
TEST(ScrollOffsetAnimationCurveTest, GetValue) { … }
TEST(ScrollOffsetAnimationCurveTest, Clone) { … }
TEST(ScrollOffsetAnimationCurveTest, EaseInOutUpdateTarget) { … }
TEST(ScrollOffsetAnimationCurveTest, ImpulseUpdateTarget) { … }
TEST(ScrollOffsetAnimationCurveTest, ImpulseUpdateTargetSwitchDirections) { … }
TEST(ScrollOffsetAnimationCurveTest, InverseDeltaDuration) { … }
TEST(ScrollOffsetAnimationCurveTest, LinearAnimation) { … }
TEST(ScrollOffsetAnimationCurveTest, ImpulseDuration) { … }
TEST(ScrollOffsetAnimationCurveTest, CurveWithDelay) { … }
TEST(ScrollOffsetAnimationCurveTest, CurveWithLargeDelay) { … }
TEST(ScrollOffsetAnimationCurveTest, UpdateTargetZeroLastSegmentDuration) { … }
}