summaryrefslogtreecommitdiff
path: root/tests/scene/test_arraymesh.h
diff options
context:
space:
mode:
authorHendrik Brucker <hendrik.brucker@mail.de>2022-12-12 19:17:50 +0100
committerHendrik Brucker <hendrik.brucker@mail.de>2022-12-12 19:17:50 +0100
commit0b07da8ebc74b84b3bfec607c4d102e820a650f8 (patch)
treeb2116f3bc93dce24a8b8534bcdd48aa8ebd4821a /tests/scene/test_arraymesh.h
parentbc5d67c61345758741fe087c6b5282402b0b2465 (diff)
[Tests] Get rid of several error messages when running the test suite
Diffstat (limited to 'tests/scene/test_arraymesh.h')
-rw-r--r--tests/scene/test_arraymesh.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/scene/test_arraymesh.h b/tests/scene/test_arraymesh.h
index fc23adcd06..a11916fbd0 100644
--- a/tests/scene/test_arraymesh.h
+++ b/tests/scene/test_arraymesh.h
@@ -82,7 +82,9 @@ TEST_CASE("[SceneTree][ArrayMesh] Adding and modifying blendshapes.") {
cylinder->create_mesh_array(cylinder_array, 3.f, 3.f, 5.f);
mesh->add_surface_from_arrays(Mesh::PRIMITIVE_TRIANGLES, cylinder_array);
+ ERR_PRINT_OFF
mesh->add_blend_shape(name_a);
+ ERR_PRINT_ON
CHECK(mesh->get_blend_shape_count() == 0);
}
@@ -121,7 +123,9 @@ TEST_CASE("[SceneTree][ArrayMesh] Adding and modifying blendshapes.") {
cylinder->create_mesh_array(cylinder_array, 3.f, 3.f, 5.f);
mesh->add_surface_from_arrays(Mesh::PRIMITIVE_TRIANGLES, cylinder_array);
+ ERR_PRINT_OFF
mesh->clear_blend_shapes();
+ ERR_PRINT_ON
CHECK(mesh->get_blend_shape_count() == 2);
}