Update CMakeLists.txt (#5531)
* Update CMakeLists.txt * Update Version.cpp * Update CMakeLists.txt Update minimum version of cmake * Update utVersion.cpp Adapt unittest
This commit is contained in:
@@ -48,18 +48,18 @@ TEST_F( utVersion, aiGetLegalStringTest ) {
|
||||
EXPECT_NE( lv, nullptr );
|
||||
std::string text( lv );
|
||||
|
||||
size_t pos = text.find(std::string("2023"));
|
||||
size_t pos = text.find(std::string("2024"));
|
||||
EXPECT_NE(pos, std::string::npos);
|
||||
}
|
||||
|
||||
TEST_F( utVersion, aiGetVersionMinorTest ) {
|
||||
EXPECT_EQ(aiGetVersionMinor(), 3U);
|
||||
}
|
||||
|
||||
TEST_F( utVersion, aiGetVersionMajorTest ) {
|
||||
EXPECT_EQ( aiGetVersionMajor(), 5U );
|
||||
}
|
||||
|
||||
TEST_F( utVersion, aiGetVersionMinorTest ) {
|
||||
EXPECT_EQ(aiGetVersionMinor(), 4U);
|
||||
}
|
||||
|
||||
TEST_F( utVersion, aiGetVersionPatchTest ) {
|
||||
EXPECT_EQ(aiGetVersionPatch(), 0U );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user