Index: third_party/WebKit/Source/core/animation/animatable/AnimatableUnknownTest.cpp |
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableUnknownTest.cpp b/third_party/WebKit/Source/core/animation/animatable/AnimatableUnknownTest.cpp |
index 3da6b49ae23a382710beb6f07b296f736fdbfba4..141dcf392da898ce6d38696d976b88e3d8b3f985 100644 |
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableUnknownTest.cpp |
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableUnknownTest.cpp |
@@ -62,16 +62,18 @@ TEST_F(AnimationAnimatableUnknownTest, ToCSSValue) { |
} |
TEST_F(AnimationAnimatableUnknownTest, Interpolate) { |
- EXPECT_EQ(cssValue, toAnimatableUnknown(AnimatableValue::interpolate( |
- animatableUnknown.get(), |
- otherAnimatableUnknown.get(), 0) |
- .get()) |
- ->toCSSValue()); |
- EXPECT_EQ(cssValue, toAnimatableUnknown(AnimatableValue::interpolate( |
- animatableUnknown.get(), |
- otherAnimatableUnknown.get(), 0.4) |
- .get()) |
- ->toCSSValue()); |
+ EXPECT_EQ(cssValue, |
+ toAnimatableUnknown( |
+ AnimatableValue::interpolate(animatableUnknown.get(), |
+ otherAnimatableUnknown.get(), 0) |
+ .get()) |
+ ->toCSSValue()); |
+ EXPECT_EQ(cssValue, |
+ toAnimatableUnknown( |
+ AnimatableValue::interpolate(animatableUnknown.get(), |
+ otherAnimatableUnknown.get(), 0.4) |
+ .get()) |
+ ->toCSSValue()); |
EXPECT_EQ(otherCSSValue, |
toAnimatableUnknown( |
AnimatableValue::interpolate(animatableUnknown.get(), |
@@ -91,31 +93,36 @@ TEST_F(AnimationAnimatableUnknownTest, Interpolate) { |
.get()) |
->toCSSValue()); |
- EXPECT_EQ(otherCSSValue, toAnimatableUnknown(AnimatableValue::interpolate( |
- otherAnimatableUnknown.get(), |
- animatableUnknown.get(), 0) |
- .get()) |
- ->toCSSValue()); |
- EXPECT_EQ(otherCSSValue, toAnimatableUnknown(AnimatableValue::interpolate( |
- otherAnimatableUnknown.get(), |
- animatableUnknown.get(), 0.4) |
- .get()) |
- ->toCSSValue()); |
- EXPECT_EQ(cssValue, toAnimatableUnknown(AnimatableValue::interpolate( |
- otherAnimatableUnknown.get(), |
- animatableUnknown.get(), 0.5) |
- .get()) |
- ->toCSSValue()); |
- EXPECT_EQ(cssValue, toAnimatableUnknown(AnimatableValue::interpolate( |
- otherAnimatableUnknown.get(), |
- animatableUnknown.get(), 0.6) |
- .get()) |
- ->toCSSValue()); |
- EXPECT_EQ(cssValue, toAnimatableUnknown(AnimatableValue::interpolate( |
- otherAnimatableUnknown.get(), |
- animatableUnknown.get(), 1) |
- .get()) |
- ->toCSSValue()); |
+ EXPECT_EQ(otherCSSValue, |
+ toAnimatableUnknown( |
+ AnimatableValue::interpolate(otherAnimatableUnknown.get(), |
+ animatableUnknown.get(), 0) |
+ .get()) |
+ ->toCSSValue()); |
+ EXPECT_EQ(otherCSSValue, |
+ toAnimatableUnknown( |
+ AnimatableValue::interpolate(otherAnimatableUnknown.get(), |
+ animatableUnknown.get(), 0.4) |
+ .get()) |
+ ->toCSSValue()); |
+ EXPECT_EQ(cssValue, |
+ toAnimatableUnknown( |
+ AnimatableValue::interpolate(otherAnimatableUnknown.get(), |
+ animatableUnknown.get(), 0.5) |
+ .get()) |
+ ->toCSSValue()); |
+ EXPECT_EQ(cssValue, |
+ toAnimatableUnknown( |
+ AnimatableValue::interpolate(otherAnimatableUnknown.get(), |
+ animatableUnknown.get(), 0.6) |
+ .get()) |
+ ->toCSSValue()); |
+ EXPECT_EQ(cssValue, |
+ toAnimatableUnknown( |
+ AnimatableValue::interpolate(otherAnimatableUnknown.get(), |
+ animatableUnknown.get(), 1) |
+ .get()) |
+ ->toCSSValue()); |
} |
} // namespace blink |