[Tests] Get rid of several error messages when running the test suite

This commit is contained in:
Hendrik Brucker
2022-12-12 19:17:50 +01:00
parent bc5d67c613
commit 0b07da8ebc
3 changed files with 40 additions and 2 deletions

View File

@ -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++) {