فهرست منبع

adjust opt tests

Simon Krajewski 5 ماه پیش
والد
کامیت
5f24bc517e
1فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 4 4
      tests/optimization/src/TestTreGeneration.hx

+ 4 - 4
tests/optimization/src/TestTreGeneration.hx

@@ -5,9 +5,9 @@ class TestTreGeneration {
 		}
 		while(true) {
 			if(Std.random(2) == 0) {
-				var _g = a;
+				var tmp = a;
 				a = b + a;
-				b = _g;
+				b = tmp;
 				s += "?";
 				continue;
 			}
@@ -33,9 +33,9 @@ class TestTreGeneration {
 			}
 			while(true) {
 				if(Std.random(2) == 0) {
-					var _g = a;
+					var tmp = a;
 					a = b + a;
-					b = _g;
+					b = tmp;
 					s += "?";
 					continue;
 				}