| Index: third_party/WebKit/Source/core/animation/animatable/AnimatableDoubleTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableDoubleTest.cpp b/third_party/WebKit/Source/core/animation/animatable/AnimatableDoubleTest.cpp
|
| index da75edcc079fda21fd8d0865f390f7dd5b36686b..2f3757fc101c598dc4c29e47cd7d7a858fa0e1ca 100644
|
| --- a/third_party/WebKit/Source/core/animation/animatable/AnimatableDoubleTest.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableDoubleTest.cpp
|
| @@ -55,33 +55,38 @@ TEST(AnimationAnimatableDoubleTest, Interpolate) {
|
| RefPtr<AnimatableDouble> from10 = AnimatableDouble::create(10);
|
| RefPtr<AnimatableDouble> to20 = AnimatableDouble::create(20);
|
| EXPECT_EQ(
|
| - 5, toAnimatableDouble(
|
| - AnimatableValue::interpolate(from10.get(), to20.get(), -0.5).get())
|
| - ->toDouble());
|
| + 5,
|
| + toAnimatableDouble(
|
| + AnimatableValue::interpolate(from10.get(), to20.get(), -0.5).get())
|
| + ->toDouble());
|
| EXPECT_EQ(10,
|
| toAnimatableDouble(
|
| AnimatableValue::interpolate(from10.get(), to20.get(), 0).get())
|
| ->toDouble());
|
| EXPECT_EQ(
|
| - 14, toAnimatableDouble(
|
| - AnimatableValue::interpolate(from10.get(), to20.get(), 0.4).get())
|
| - ->toDouble());
|
| + 14,
|
| + toAnimatableDouble(
|
| + AnimatableValue::interpolate(from10.get(), to20.get(), 0.4).get())
|
| + ->toDouble());
|
| EXPECT_EQ(
|
| - 15, toAnimatableDouble(
|
| - AnimatableValue::interpolate(from10.get(), to20.get(), 0.5).get())
|
| - ->toDouble());
|
| + 15,
|
| + toAnimatableDouble(
|
| + AnimatableValue::interpolate(from10.get(), to20.get(), 0.5).get())
|
| + ->toDouble());
|
| EXPECT_EQ(
|
| - 16, toAnimatableDouble(
|
| - AnimatableValue::interpolate(from10.get(), to20.get(), 0.6).get())
|
| - ->toDouble());
|
| + 16,
|
| + toAnimatableDouble(
|
| + AnimatableValue::interpolate(from10.get(), to20.get(), 0.6).get())
|
| + ->toDouble());
|
| EXPECT_EQ(20,
|
| toAnimatableDouble(
|
| AnimatableValue::interpolate(from10.get(), to20.get(), 1).get())
|
| ->toDouble());
|
| EXPECT_EQ(
|
| - 25, toAnimatableDouble(
|
| - AnimatableValue::interpolate(from10.get(), to20.get(), 1.5).get())
|
| - ->toDouble());
|
| + 25,
|
| + toAnimatableDouble(
|
| + AnimatableValue::interpolate(from10.get(), to20.get(), 1.5).get())
|
| + ->toDouble());
|
| }
|
|
|
| } // namespace blink
|
|
|