#include <cmath>import "flutter/third_party/spring_animation/spring_animation.h"#include "gtest/gtest.h"Go to the source code of this file.
Functions | |
| TEST (SpringAnimationTest, CanInitializeCorrectly) | |
| TEST (SpringAnimationTest, CurveFunctionCanWorkCorrectly) | |
| TEST (SpringAnimationTest, CanUpdatePositionValuesAndCalculateCorrectly) | |
| TEST | ( | SpringAnimationTest | , |
| CanInitializeCorrectly | |||
| ) |
Definition at line 9 of file SpringAnimationTest.mm.
References SpringAnimation::damping, SpringAnimation::fromValue, SpringAnimation::initialVelocity, SpringAnimation::mass, SpringAnimation::stiffness, and SpringAnimation::toValue.
| TEST | ( | SpringAnimationTest | , |
| CanUpdatePositionValuesAndCalculateCorrectly | |||
| ) |
Definition at line 42 of file SpringAnimationTest.mm.
References SpringAnimation::fromValue, and SpringAnimation::toValue.
| TEST | ( | SpringAnimationTest | , |
| CurveFunctionCanWorkCorrectly | |||
| ) |
Definition at line 24 of file SpringAnimationTest.mm.
References SpringAnimation::fromValue, and SpringAnimation::toValue.