Skip to content

Commit

Permalink
Make the tests work.
Browse files Browse the repository at this point in the history
  • Loading branch information
fire committed Feb 7, 2025
1 parent 44a85ab commit 6239a60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/scene/test_qbo_document.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 6239a60

Please sign in to comment.