summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/base/animation/multi_animation_unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/base/animation/multi_animation_unittest.cc b/ui/base/animation/multi_animation_unittest.cc
index dfc015d..9e0c339 100644
--- a/ui/base/animation/multi_animation_unittest.cc
+++ b/ui/base/animation/multi_animation_unittest.cc
@@ -28,14 +28,14 @@ TEST_F(MultiAnimationTest, Basic) {
// Step to 120, which is 20% through the second part.
as_element->Step(base::TimeTicks() +
base::TimeDelta::FromMilliseconds(120));
- EXPECT_EQ(Tween::CalculateValue(Tween::EASE_OUT, .2),
- animation.GetCurrentValue());
+ EXPECT_DOUBLE_EQ(Tween::CalculateValue(Tween::EASE_OUT, .2),
+ animation.GetCurrentValue());
// Step to 320, which is 20% through the second part.
as_element->Step(base::TimeTicks() +
base::TimeDelta::FromMilliseconds(320));
- EXPECT_EQ(Tween::CalculateValue(Tween::EASE_OUT, .2),
- animation.GetCurrentValue());
+ EXPECT_DOUBLE_EQ(Tween::CalculateValue(Tween::EASE_OUT, .2),
+ animation.GetCurrentValue());
}
TEST_F(MultiAnimationTest, DifferingStartAndEnd) {