Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableDoubleTest.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698