summaryrefslogtreecommitdiff
path: root/tests/scene/test_curve.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scene/test_curve.h')
-rw-r--r--tests/scene/test_curve.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/scene/test_curve.h b/tests/scene/test_curve.h
index 4afd5b293f..4f95568b4a 100644
--- a/tests/scene/test_curve.h
+++ b/tests/scene/test_curve.h
@@ -240,8 +240,9 @@ TEST_CASE("[Curve3D] Linear sampling should return exact value") {
curve->add_point(Vector3(0, 0, 0));
curve->add_point(Vector3(len, 0, 0));
-
+ ERR_PRINT_OFF
real_t baked_length = curve->get_baked_length();
+ ERR_PRINT_ON
CHECK(len == baked_length);
for (int i = 0; i < len; i++) {