Update utVersion.cpp
parent
1d8667bfdc
commit
30f1583dde
|
@ -49,17 +49,21 @@ TEST_F( utVersion, aiGetLegalStringTest ) {
|
||||||
std::string text( lv );
|
std::string text( lv );
|
||||||
|
|
||||||
size_t pos = text.find(std::string("2021"));
|
size_t pos = text.find(std::string("2021"));
|
||||||
EXPECT_NE( pos, std::string::npos );
|
EXPECT_NE(pos, std::string::npos);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F( utVersion, aiGetVersionMinorTest ) {
|
TEST_F( utVersion, aiGetVersionMinorTest ) {
|
||||||
EXPECT_EQ( aiGetVersionMinor(), 1U );
|
EXPECT_EQ(aiGetVersionMinor(), 1U);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F( utVersion, aiGetVersionMajorTest ) {
|
TEST_F( utVersion, aiGetVersionMajorTest ) {
|
||||||
EXPECT_EQ( aiGetVersionMajor(), 5U );
|
EXPECT_EQ( aiGetVersionMajor(), 5U );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST_F( utVersion, aiGetVersionPatchTest ) {
|
||||||
|
EXPECT_EQ(aiGetVersionPatch(), 6U );
|
||||||
|
}
|
||||||
|
|
||||||
TEST_F( utVersion, aiGetCompileFlagsTest ) {
|
TEST_F( utVersion, aiGetCompileFlagsTest ) {
|
||||||
EXPECT_NE( aiGetCompileFlags(), 0U );
|
EXPECT_NE( aiGetCompileFlags(), 0U );
|
||||||
}
|
}
|
||||||
|
@ -71,5 +75,3 @@ TEST_F( utVersion, aiGetVersionRevisionTest ) {
|
||||||
TEST_F( utVersion, aiGetBranchNameTest ) {
|
TEST_F( utVersion, aiGetBranchNameTest ) {
|
||||||
EXPECT_NE( nullptr, aiGetBranchName() );
|
EXPECT_NE( nullptr, aiGetBranchName() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue