summaryrefslogtreecommitdiff
path: root/bin/ai
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ai')
-rw-r--r--bin/ai/regression/regression.nut4
-rw-r--r--bin/ai/regression/regression.txt3
2 files changed, 7 insertions, 0 deletions
diff --git a/bin/ai/regression/regression.nut b/bin/ai/regression/regression.nut
index 05243346a..341c5d4ce 100644
--- a/bin/ai/regression/regression.nut
+++ b/bin/ai/regression/regression.nut
@@ -10,9 +10,11 @@ function Regression::TestInit()
{
print("");
print("--TestInit--");
+ print(" Ops: " + this.GetOpsTillSuspend());
print(" TickTest: " + this.GetTick());
this.Sleep(1);
print(" TickTest: " + this.GetTick());
+ print(" Ops: " + this.GetOpsTillSuspend());
print(" SetCommandDelay: " + AIController.SetCommandDelay(1));
print(" IsValid(vehicle.plane_speed): " + AIGameSettings.IsValid("vehicle.plane_speed"));
print(" vehicle.plane_speed: " + AIGameSettings.GetValue("vehicle.plane_speed"));
@@ -166,6 +168,8 @@ function Regression::TestInit()
foreach (idx, val in list) {
print(" " + idx);
}
+
+ print(" Ops: " + this.GetOpsTillSuspend());
}
function Regression::Std()
diff --git a/bin/ai/regression/regression.txt b/bin/ai/regression/regression.txt
index 3eb611eaf..dc82f9093 100644
--- a/bin/ai/regression/regression.txt
+++ b/bin/ai/regression/regression.txt
@@ -1,7 +1,9 @@
--TestInit--
+ Ops: 9988
TickTest: 1
TickTest: 2
+ Ops: 9990
SetCommandDelay: (null : 0x00000000)
IsValid(vehicle.plane_speed): true
vehicle.plane_speed: 2
@@ -79,6 +81,7 @@
20
30
40
+ Ops: 8673
--Std--
abs(-21): 21