From 1d8667bfdc140df93b6255c926a6d9e21877482c Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Sun, 9 Jan 2022 18:06:33 +0100 Subject: [PATCH 1/2] Update to 5.1.6 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 13b2ef936..39233fe88 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,7 +56,7 @@ IF(ASSIMP_HUNTER_ENABLED) add_definitions(-DASSIMP_USE_HUNTER) ENDIF() -PROJECT(Assimp VERSION 5.1.4) +PROJECT(Assimp VERSION 5.1.6) # All supported options ############################################### From 30f1583dde8ef34c02a73e4fb1b5d8e604e671ee Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Sun, 9 Jan 2022 21:06:05 +0100 Subject: [PATCH 2/2] Update utVersion.cpp --- test/unit/utVersion.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/unit/utVersion.cpp b/test/unit/utVersion.cpp index 6577c7758..790611556 100644 --- a/test/unit/utVersion.cpp +++ b/test/unit/utVersion.cpp @@ -49,17 +49,21 @@ TEST_F( utVersion, aiGetLegalStringTest ) { std::string text( lv ); size_t pos = text.find(std::string("2021")); - EXPECT_NE( pos, std::string::npos ); + EXPECT_NE(pos, std::string::npos); } TEST_F( utVersion, aiGetVersionMinorTest ) { - EXPECT_EQ( aiGetVersionMinor(), 1U ); + EXPECT_EQ(aiGetVersionMinor(), 1U); } TEST_F( utVersion, aiGetVersionMajorTest ) { EXPECT_EQ( aiGetVersionMajor(), 5U ); } +TEST_F( utVersion, aiGetVersionPatchTest ) { + EXPECT_EQ(aiGetVersionPatch(), 6U ); +} + TEST_F( utVersion, aiGetCompileFlagsTest ) { EXPECT_NE( aiGetCompileFlags(), 0U ); } @@ -71,5 +75,3 @@ TEST_F( utVersion, aiGetVersionRevisionTest ) { TEST_F( utVersion, aiGetBranchNameTest ) { EXPECT_NE( nullptr, aiGetBranchName() ); } - -