summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLyuma <xn.lyuma@gmail.com>2024-04-19 02:05:46 -0700
committerLyuma <xn.lyuma@gmail.com>2024-04-19 03:02:20 -0700
commitbb9674c1b1817d01152672c54c4ca3a4231cdb65 (patch)
tree5c0e614c0001d74242ac8dc191391fdd54c88eab /tests
parent2efbc6bfb3b4f49a6bc75b3d367cfe81eeddbf3a (diff)
downloadredot-engine-bb9674c1b1817d01152672c54c4ca3a4231cdb65.tar.gz
Set animation step from importers. Increase default step from 10 to 30 FPS.
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") {