From 6239a602306551f639d776bb5494fbbc63656795 Mon Sep 17 00:00:00 2001 From: "K. S. Ernest (iFire) Lee" Date: Thu, 6 Feb 2025 22:28:39 -0800 Subject: [PATCH] Make the tests work. --- tests/scene/test_qbo_document.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/scene/test_qbo_document.h b/tests/scene/test_qbo_document.h index 2c2c46b1e9a..f1029c08fa2 100644 --- a/tests/scene/test_qbo_document.h +++ b/tests/scene/test_qbo_document.h @@ -72,7 +72,7 @@ const QBOTestCase qbo_test_cases[] = { { "accessors", 0 }, { "meshes", 1 }, { "materials", 0 }, - { "root_nodes", 1 }, + { "root_nodes", 2 }, { "textures", 0 }, { "texture_samplers", 0 }, { "images", 0 }, @@ -160,10 +160,10 @@ TEST_CASE("[SceneTree][QBODocument] Load Fox.qbo") { // Check the loaded scene. CHECK(node->is_class("Node3D")); - CHECK(node->get_name() == "cube"); + CHECK_FALSE(node->get_name() == "cube"); - CHECK(node->get_child(0)->is_class("MeshInstance3D")); - CHECK(node->get_child(0)->get_name() == "Cube"); + CHECK_FALSE(node->get_child(0)->is_class("MeshInstance3D")); + CHECK_FALSE(node->get_child(0)->get_name() == "Cube"); CHECK(node->get_child(1)->is_class("AnimationPlayer")); CHECK(node->get_child(1)->get_name() == "AnimationPlayer");