summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-04-24 09:59:21 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-04-24 09:59:21 +0200
commit17d9c52ad90175b7f18340eec29660687f7c63dc (patch)
tree0fca177c2711bffbd58920536439f5c3496f33d4 /tests
parent149023335d06ee2f10c823051dd12cfc704aa7fd (diff)
parentbb9674c1b1817d01152672c54c4ca3a4231cdb65 (diff)
downloadredot-engine-17d9c52ad90175b7f18340eec29660687f7c63dc.tar.gz
Merge pull request #90894 from lyuma/animation_step_30
Set animation step from importers. Increase default step from 10 to 30FPS
Diffstat (limited to 'tests')
-rw-r--r--tests/scene/test_animation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scene/test_animation.h b/tests/scene/test_animation.h
index 89bf296815..6c89592e0d 100644
--- a/tests/scene/test_animation.h
+++ b/tests/scene/test_animation.h
@@ -41,7 +41,7 @@ TEST_CASE("[Animation] Empty animation getters") {
const Ref<Animation> animation = memnew(Animation);
CHECK(animation->get_length() == doctest::Approx(real_t(1.0)));
- CHECK(animation->get_step() == doctest::Approx(real_t(0.1)));
+ CHECK(animation->get_step() == doctest::Approx(real_t(1.0 / 30)));
}
TEST_CASE("[Animation] Create value track") {