From ec5cbc70dbcf72dd0a0bbd7e61915450613a58fd Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Thu, 21 Dec 2023 11:37:10 +0100 Subject: [PATCH] Update utBlenderImportExport.cpp Fix compiler warning. --- test/unit/utBlenderImportExport.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/test/unit/utBlenderImportExport.cpp b/test/unit/utBlenderImportExport.cpp index 12b1cc47c..26fa36d14 100644 --- a/test/unit/utBlenderImportExport.cpp +++ b/test/unit/utBlenderImportExport.cpp @@ -223,17 +223,13 @@ TEST(utBlenderImporter, importFleurOptonl) { ASSERT_NE(nullptr, scene); } - -/* -This test contains a default cube with subdivision surface modifier -and a default cube with subdivision surface applied. -Vertices should be identical. -*/ +/// This test contains a default cube with subdivision surface modifier and a default cube with subdivision surface applied. +/// Vertices should be identical. TEST_F(utBlenderImporterExporter, importBlendWithSubdivisionSurface) { Assimp::Importer importer; const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/BLEND/subdivision_test_277.blend", aiProcess_ValidateDataStructure); EXPECT_NE(nullptr, scene); - EXPECT_EQ(scene->mNumMeshes, 2); + EXPECT_EQ(scene->mNumMeshes, 2u); EXPECT_EQ(scene->mMeshes[0]->mNumVertices, scene->mMeshes[1]->mNumVertices); SpatialSort spatialSortVertices0;