@@ -47,7 +47,7 @@ public void Run_WhenRunIsNotValid_ShouldStopAction()
4747 this . action . IsValid ( this . agent , this . agent . ActionState . Data ) . Returns ( false ) ;
4848
4949 // Act
50- this . actionRunner . Run ( ) ;
50+ this . actionRunner . Run ( 0f ) ;
5151
5252 // Assert
5353 this . agent . Received ( ) . StopAction ( ) ;
@@ -61,7 +61,7 @@ public void MoveBeforePerforming_WhenInRange_ShouldSetStateToPerformingAction()
6161 this . action . GetMoveMode ( this . agent ) . Returns ( ActionMoveMode . MoveBeforePerforming ) ;
6262
6363 // Act
64- this . actionRunner . Run ( ) ;
64+ this . actionRunner . Run ( 0f ) ;
6565
6666 // Assert
6767 this . proxy . Received ( ) . SetState ( AgentState . PerformingAction ) ;
@@ -75,7 +75,7 @@ public void MoveBeforePerforming_WhenInRange_ShouldSetMoveStateToInRange()
7575 this . action . GetMoveMode ( this . agent ) . Returns ( ActionMoveMode . MoveBeforePerforming ) ;
7676
7777 // Act
78- this . actionRunner . Run ( ) ;
78+ this . actionRunner . Run ( 0f ) ;
7979
8080 // Assert
8181 this . proxy . Received ( ) . SetMoveState ( AgentMoveState . InRange ) ;
@@ -89,7 +89,7 @@ public void MoveBeforePerforming_WhenInRange_ShouldPerformAction()
8989 this . action . GetMoveMode ( this . agent ) . Returns ( ActionMoveMode . MoveBeforePerforming ) ;
9090
9191 // Act
92- this . actionRunner . Run ( ) ;
92+ this . actionRunner . Run ( 0f ) ;
9393
9494 // Assert
9595 this . action . Received ( ) . Perform ( this . agent , this . agent . ActionState . Data , Arg . Any < IActionContext > ( ) ) ;
@@ -103,7 +103,7 @@ public void MoveBeforePerforming_WhenNotInRange_ShouldSetStateToMovingToTarget()
103103 this . action . GetMoveMode ( this . agent ) . Returns ( ActionMoveMode . MoveBeforePerforming ) ;
104104
105105 // Act
106- this . actionRunner . Run ( ) ;
106+ this . actionRunner . Run ( 0f ) ;
107107
108108 // Assert
109109 this . proxy . Received ( ) . SetState ( AgentState . MovingToTarget ) ;
@@ -117,7 +117,7 @@ public void MoveBeforePerforming_WhenNotInRange_ShouldSetMoveStateToOutOfRange()
117117 this . action . GetMoveMode ( this . agent ) . Returns ( ActionMoveMode . MoveBeforePerforming ) ;
118118
119119 // Act
120- this . actionRunner . Run ( ) ;
120+ this . actionRunner . Run ( 0f ) ;
121121
122122 // Assert
123123 this . proxy . Received ( ) . SetMoveState ( AgentMoveState . NotInRange ) ;
@@ -131,7 +131,7 @@ public void MoveBeforePerforming_WhenNotInRange_ShouldMove()
131131 this . action . GetMoveMode ( this . agent ) . Returns ( ActionMoveMode . MoveBeforePerforming ) ;
132132
133133 // Act
134- this . actionRunner . Run ( ) ;
134+ this . actionRunner . Run ( 0f ) ;
135135
136136 // Assert
137137 this . agent . Events . Received ( ) . Move ( this . agent . CurrentTarget ) ;
@@ -146,7 +146,7 @@ public void MoveBeforePerforming_WhenNotInRangeAndStateIsPerformingAction_Should
146146 this . action . GetMoveMode ( this . agent ) . Returns ( ActionMoveMode . MoveBeforePerforming ) ;
147147
148148 // Act
149- this . actionRunner . Run ( ) ;
149+ this . actionRunner . Run ( 0f ) ;
150150
151151 // Assert
152152 this . proxy . DidNotReceive ( ) . SetState ( AgentState . MovingToTarget ) ;
@@ -160,7 +160,7 @@ public void PerformWhileMoving_WhenInRange_ShouldSetStateToPerformingAction()
160160 this . action . GetMoveMode ( this . agent ) . Returns ( ActionMoveMode . PerformWhileMoving ) ;
161161
162162 // Act
163- this . actionRunner . Run ( ) ;
163+ this . actionRunner . Run ( 0f ) ;
164164
165165 // Assert
166166 this . proxy . Received ( ) . SetState ( AgentState . PerformingAction ) ;
@@ -174,7 +174,7 @@ public void PerformWhileMoving_WhenInRange_ShouldSetMoveStateToInRange()
174174 this . action . GetMoveMode ( this . agent ) . Returns ( ActionMoveMode . PerformWhileMoving ) ;
175175
176176 // Act
177- this . actionRunner . Run ( ) ;
177+ this . actionRunner . Run ( 0f ) ;
178178
179179 // Assert
180180 this . proxy . Received ( ) . SetMoveState ( AgentMoveState . InRange ) ;
@@ -188,7 +188,7 @@ public void PerformWhileMoving_WhenInRange_ShouldPerformAction()
188188 this . action . GetMoveMode ( this . agent ) . Returns ( ActionMoveMode . PerformWhileMoving ) ;
189189
190190 // Act
191- this . actionRunner . Run ( ) ;
191+ this . actionRunner . Run ( 0f ) ;
192192
193193 // Assert
194194 this . action . Received ( ) . Perform ( this . agent , this . agent . ActionState . Data , Arg . Any < IActionContext > ( ) ) ;
@@ -202,7 +202,7 @@ public void PerformWhileMoving_WhenNotInRange_ShouldSetStateToMovingWhilePerform
202202 this . action . GetMoveMode ( this . agent ) . Returns ( ActionMoveMode . PerformWhileMoving ) ;
203203
204204 // Act
205- this . actionRunner . Run ( ) ;
205+ this . actionRunner . Run ( 0f ) ;
206206
207207 // Assert
208208 this . proxy . Received ( ) . SetState ( AgentState . MovingWhilePerformingAction ) ;
@@ -216,7 +216,7 @@ public void PerformWhileMoving_WhenNotInRange_ShouldSetMoveStateToOutOfRange()
216216 this . action . GetMoveMode ( this . agent ) . Returns ( ActionMoveMode . PerformWhileMoving ) ;
217217
218218 // Act
219- this . actionRunner . Run ( ) ;
219+ this . actionRunner . Run ( 0f ) ;
220220
221221 // Assert
222222 this . proxy . Received ( ) . SetMoveState ( AgentMoveState . NotInRange ) ;
@@ -230,7 +230,7 @@ public void PerformWhileMoving_WhenNotInRange_ShouldMove()
230230 this . action . GetMoveMode ( this . agent ) . Returns ( ActionMoveMode . PerformWhileMoving ) ;
231231
232232 // Act
233- this . actionRunner . Run ( ) ;
233+ this . actionRunner . Run ( 0f ) ;
234234
235235 // Assert
236236 this . agent . Events . Received ( ) . Move ( this . agent . CurrentTarget ) ;
@@ -244,7 +244,7 @@ public void PerformAction_NoRunState_ShouldPerformAction()
244244 this . action . GetMoveMode ( this . agent ) . Returns ( ActionMoveMode . PerformWhileMoving ) ;
245245
246246 // Act
247- this . actionRunner . Run ( ) ;
247+ this . actionRunner . Run ( 0f ) ;
248248
249249 // Assert
250250 this . action . Received ( ) . Perform ( this . agent , this . agent . ActionState . Data , Arg . Any < IActionContext > ( ) ) ;
@@ -259,7 +259,7 @@ public void PerformAction_IsCompletedRunState_ShouldNotPerformAction()
259259 this . action . GetMoveMode ( this . agent ) . Returns ( ActionMoveMode . PerformWhileMoving ) ;
260260
261261 // Act
262- this . actionRunner . Run ( ) ;
262+ this . actionRunner . Run ( 0f ) ;
263263
264264 // Assert
265265 this . action . DidNotReceive ( ) . Perform ( this . agent , this . agent . ActionState . Data , Arg . Any < IActionContext > ( ) ) ;
@@ -275,7 +275,7 @@ public void PerformAction_ShouldStopRunState_ShouldNotPerformAction()
275275 this . action . GetMoveMode ( this . agent ) . Returns ( ActionMoveMode . PerformWhileMoving ) ;
276276
277277 // Act
278- this . actionRunner . Run ( ) ;
278+ this . actionRunner . Run ( 0f ) ;
279279
280280 // Assert
281281 this . action . DidNotReceive ( ) . Perform ( this . agent , this . agent . ActionState . Data , Arg . Any < IActionContext > ( ) ) ;
@@ -291,7 +291,7 @@ public void PerformAction_ContinueRunState_ShouldPerformAction()
291291 this . action . GetMoveMode ( this . agent ) . Returns ( ActionMoveMode . PerformWhileMoving ) ;
292292
293293 // Act
294- this . actionRunner . Run ( ) ;
294+ this . actionRunner . Run ( 0f ) ;
295295
296296 // Assert
297297 this . action . Received ( ) . Perform ( this . agent , this . agent . ActionState . Data , Arg . Any < IActionContext > ( ) ) ;
@@ -307,7 +307,7 @@ public void PerformAction_ReturnedCompleteState_ShouldCompleteAction()
307307 this . action . Perform ( this . agent , this . agent . ActionState . Data , Arg . Any < IActionContext > ( ) ) . Returns ( ActionRunState . Completed ) ;
308308
309309 // Act
310- this . actionRunner . Run ( ) ;
310+ this . actionRunner . Run ( 0f ) ;
311311
312312 // Assert
313313 this . agent . Received ( ) . CompleteAction ( ) ;
@@ -323,7 +323,7 @@ public void PerformAction_ReturnedStopState_ShouldStopAction()
323323 this . action . Perform ( this . agent , this . agent . ActionState . Data , Arg . Any < IActionContext > ( ) ) . Returns ( ActionRunState . Stop ) ;
324324
325325 // Act
326- this . actionRunner . Run ( ) ;
326+ this . actionRunner . Run ( 0f ) ;
327327
328328 // Assert
329329 this . agent . Received ( ) . StopAction ( ) ;
@@ -342,7 +342,7 @@ public void PerformAction_ReturnedContinueState_ShouldContinueAction()
342342 this . action . Perform ( this . agent , this . agent . ActionState . Data , Arg . Any < IActionContext > ( ) ) . Returns ( ActionRunState . Continue ) ;
343343
344344 // Act
345- this . actionRunner . Run ( ) ;
345+ this . actionRunner . Run ( 0f ) ;
346346
347347 // Assert
348348 this . agent . DidNotReceive ( ) . CompleteAction ( ) ;
0 commit comments