瀏覽代碼

Update utVersion.cpp

Kim Kulling 3 年之前
父節點
當前提交
c4a66ae988
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      test/unit/utVersion.cpp

+ 3 - 3
test/unit/utVersion.cpp

@@ -48,12 +48,12 @@ TEST_F( utVersion, aiGetLegalStringTest ) {
     EXPECT_NE( lv, nullptr );
     EXPECT_NE( lv, nullptr );
     std::string text( lv );
     std::string text( lv );
 
 
-    size_t pos = text.find(std::string("2021"));
+    size_t pos = text.find(std::string("2022"));
     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(), 2U);
 }
 }
 
 
 TEST_F( utVersion, aiGetVersionMajorTest ) {
 TEST_F( utVersion, aiGetVersionMajorTest ) {
@@ -61,7 +61,7 @@ TEST_F( utVersion, aiGetVersionMajorTest ) {
 }
 }
 
 
 TEST_F( utVersion, aiGetVersionPatchTest ) {
 TEST_F( utVersion, aiGetVersionPatchTest ) {
-    EXPECT_EQ(aiGetVersionPatch(), 6U );   
+    EXPECT_EQ(aiGetVersionPatch(), 0U );   
 }
 }
 
 
 TEST_F( utVersion, aiGetCompileFlagsTest ) {
 TEST_F( utVersion, aiGetCompileFlagsTest ) {