Explorar o código

指定循环测试次数;

Jeff %!s(int64=5) %!d(string=hai) anos
pai
achega
6927967143
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      scbc.tools/test/test.cpp

+ 2 - 1
scbc.tools/test/test.cpp

@@ -37,7 +37,8 @@ int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
 			return -1;
 		}
 
-		while(true){
+		int i = 10000;
+		while(i--){
 
 			// 1、查询订单是否已下载成功;
 			int nRet = QueryMidInfo(bid.c_str());